IntelLabs / MART

Modular Adversarial Robustness Toolkit
BSD 3-Clause "New" or "Revised" License
16 stars 0 forks source link

Upgrade pre-commit flake8 to 6.0.0 #239

Closed mzweilin closed 6 months ago

mzweilin commented 6 months ago

Upgrade pre-commit flake8 to 6.0.0 to work with newer importlib_metadata.

Otherwise, the code quality PR check fails.

I picked flake8 v6.0.0 following the choice of the template:

https://github.com/ashleve/lightning-hydra-template/blob/bddbc24b82ab6ccfa6243e815a49dc5bfe8d4144/.pre-commit-config.yaml#L73C10-L73C15

What does this PR do?

Fixes #\

Type of change

Please check all relevant options.

Testing

Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.

Before submitting

Did you have fun?

Make sure you had fun coding 🙃