Skip to content
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

ruff --select=E712,F401,F541 --fix . #172

Merged
merged 1 commit into from
Mar 12, 2023

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Mar 12, 2023

https://beta.ruff.rs
% ruff --select=E712,F401,F541 --statistics .

 1	E712	[*] Comparison to `True` should be `cond is True`
 4	F401	[*] `pathlib` imported but unused
 4	F541	[*] f-string without any placeholders

% ruff --select=E712,F401,F541 --fix .

Found 9 errors (9 fixed, 0 remaining).
@codecov-commenter
Copy link

codecov-commenter commented Mar 12, 2023

Codecov Report

Merging #172 (e9921dd) into master (a298996) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #172      +/-   ##
==========================================
- Coverage   95.23%   95.22%   -0.01%     
==========================================
  Files          23       23              
  Lines        1216     1214       -2     
  Branches      273      273              
==========================================
- Hits         1158     1156       -2     
  Misses         33       33              
  Partials       25       25              
Impacted Files Coverage Δ
src/wily/__main__.py 95.48% <ø> (ø)
src/wily/commands/graph.py 100.00% <ø> (ø)
src/wily/commands/report.py 96.96% <ø> (-0.04%) ⬇️
src/wily/cache.py 98.18% <100.00%> (ø)
src/wily/commands/build.py 89.01% <100.00%> (ø)
src/wily/commands/rank.py 96.22% <100.00%> (ø)
src/wily/state.py 95.29% <100.00%> (ø)

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

@tonybaloney tonybaloney self-requested a review March 12, 2023 05:54
@tonybaloney
Copy link
Owner

All sensible changes. Thanks!

@tonybaloney tonybaloney merged commit f1e8225 into tonybaloney:master Mar 12, 2023
@cclauss cclauss deleted the ruff-fixes branch March 12, 2023 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants