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

👕 Extend ruff rules #67

Merged
merged 17 commits into from
Nov 3, 2023
Merged

👕 Extend ruff rules #67

merged 17 commits into from
Nov 3, 2023

Conversation

o-laurent
Copy link
Contributor

Add a large number of rules to improve the quality of the code.

To be merged after #63.

@o-laurent o-laurent added the enhancement New feature or request label Nov 1, 2023
@o-laurent o-laurent self-assigned this Nov 1, 2023
Copy link

codecov bot commented Nov 1, 2023

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (97695b9) 98.45% compared to head (6f02fd8) 98.47%.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #67      +/-   ##
==========================================
+ Coverage   98.45%   98.47%   +0.02%     
==========================================
  Files          74       74              
  Lines        3875     3807      -68     
  Branches      477      471       -6     
==========================================
- Hits         3815     3749      -66     
+ Misses         23       22       -1     
+ Partials       37       36       -1     
Flag Coverage Δ
cpu 98.47% <97.02%> (+0.02%) ⬆️
pytest 98.47% <97.02%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...rch_uncertainty/baselines/classification/resnet.py 98.14% <100.00%> (ø)
torch_uncertainty/baselines/classification/vgg.py 97.56% <100.00%> (ø)
...uncertainty/baselines/classification/wideresnet.py 98.07% <100.00%> (ø)
torch_uncertainty/baselines/regression/mlp.py 100.00% <100.00%> (+2.94%) ⬆️
torch_uncertainty/datamodules/abstract.py 97.59% <100.00%> (-0.03%) ⬇️
torch_uncertainty/datamodules/cifar10.py 100.00% <100.00%> (ø)
torch_uncertainty/datamodules/cifar100.py 97.64% <100.00%> (ø)
torch_uncertainty/datamodules/imagenet.py 94.11% <100.00%> (-0.06%) ⬇️
torch_uncertainty/datamodules/mnist.py 91.54% <100.00%> (-0.24%) ⬇️
torch_uncertainty/datamodules/tiny_imagenet.py 96.72% <100.00%> (+0.23%) ⬆️
... and 47 more

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

@o-laurent o-laurent marked this pull request as ready for review November 3, 2023 14:04
@o-laurent o-laurent merged commit f0d8316 into dev Nov 3, 2023
3 checks passed
@o-laurent o-laurent deleted the extend_ruff_rules branch November 3, 2023 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant