Skip to content

Reformat the repository with black 22.12.0#95

Closed
ferringb wants to merge 2 commits intopkgcore:masterfrom
ferringb:black
Closed

Reformat the repository with black 22.12.0#95
ferringb wants to merge 2 commits intopkgcore:masterfrom
ferringb:black

Conversation

@ferringb
Copy link
Copy Markdown
Contributor

Additionally, add a .git-blame-ignore-revs so git blame doesn't attribute all of this to myself. Once that file is in there I'll go through the history and add a few more since snakeoil history is long, and code has shuffled enough the original commit documentation isn't easily reachable.

Note: if folks don't like the formatting of this, the PR can be punted. Black can also be tuned as needed, this is just me getting the ball rolling.

This can be activate (per repo) via:

git config blame.ignoreRevsFile .git-blame-ignore-revs
@codecov
Copy link
Copy Markdown

codecov bot commented Dec 24, 2022

Codecov Report

Base: 59.13% // Head: 59.13% // No change to project coverage 👍

Coverage data is based on head (3baee87) compared to base (daf56c1).
Patch coverage: 63.87% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #95   +/-   ##
=======================================
  Coverage   59.13%   59.13%           
=======================================
  Files          58       58           
  Lines        6774     6774           
  Branches     1410     1410           
=======================================
  Hits         4006     4006           
  Misses       2529     2529           
  Partials      239      239           
Impacted Files Coverage Δ
src/snakeoil/cli/exceptions.py 60.00% <0.00%> (ø)
src/snakeoil/cli/tool.py 16.05% <0.00%> (ø)
src/snakeoil/compatibility.py 25.92% <0.00%> (ø)
src/snakeoil/decorators.py 91.30% <ø> (ø)
src/snakeoil/errors.py 15.15% <0.00%> (ø)
src/snakeoil/modules.py 94.44% <ø> (ø)
src/snakeoil/pickling.py 0.00% <ø> (ø)
src/snakeoil/weakrefs.py 45.00% <ø> (ø)
src/snakeoil/contexts.py 40.08% <13.33%> (ø)
src/snakeoil/process/namespaces.py 20.27% <14.28%> (ø)
... and 41 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Copy Markdown
Member

@arthurzam arthurzam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After some tests, the default by black seems fine enough for me. Let's go with it. Thank you!

@ferringb ferringb deleted the black branch December 1, 2025 00:40
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.

2 participants