python-tuf
python-tuf copied to clipboard
Enable linters
Enable linters:
- flake8-unused-arguments
- flake8-executable
- pygrep-hooks
- flake8-pie
- flake8-pyi
- flake8-raise
- flake8-self
These were all low hanging fruit where ruff can autofix or where there were only a few issues to fix.
This is part of #2567
Pull Request Test Coverage Report for Build 8964888708
Details
- 16 of 16 (100.0%) changed or added relevant lines in 3 files are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage remained the same at 97.588%
| Totals | |
|---|---|
| Change from base Build 8936891421: | 0.0% |
| Covered Lines: | 1462 |
| Relevant Lines: | 1487 |
💛 - Coveralls
closing/reopening to trigger tests again
rebased on main again
These feel mostly nit picky. But I also won't argue with an auto-formatter. 😅
yeah some of the rules are very arguable... but for each ruleset there's typically a bunch of really good ones that just fit our code 100% so I figured the few weird ones we can live with or disable individually