Skip to content

Add black to pre-commit hooks. Fixes: #616 #764

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SukiCZ
Copy link

@SukiCZ SukiCZ commented Dec 10, 2024

  • Add black to pre-commit hooks

  • Apply black formatting to codebase

Copy link

codecov bot commented Dec 10, 2024

Codecov Report

Attention: Patch coverage is 79.85075% with 81 lines in your changes missing coverage. Please review.

Project coverage is 87.10%. Comparing base (b2bb4df) to head (ada64b8).
Report is 12 commits behind head on master.

Files with missing lines Patch % Lines
silk/request_filters.py 62.96% 10 Missing ⚠️
silk/models.py 76.47% 8 Missing ⚠️
silk/code_generation/curl.py 30.00% 7 Missing ⚠️
silk/model_factory.py 84.44% 7 Missing ⚠️
silk/templatetags/silk_filters.py 46.15% 7 Missing ⚠️
silk/profiling/dynamic.py 75.00% 5 Missing ⚠️
silk/profiling/profiler.py 68.75% 5 Missing ⚠️
silk/views/profiling.py 84.37% 5 Missing ⚠️
silk/collector.py 84.21% 3 Missing ⚠️
silk/views/cprofile.py 0.00% 3 Missing ⚠️
... and 12 more
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #764   +/-   ##
=======================================
  Coverage   87.10%   87.10%           
=======================================
  Files          52       52           
  Lines        2141     2141           
=======================================
  Hits         1865     1865           
  Misses        276      276           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant