-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace flake8/flake8-docstrings with ruff (#1063)
* Replace flake8-docstrings with ruff Flake8-docstrings is deprecated because pydocstyle (https://github.com/pycqa/pydocstyle) is deprecated. The checker/linter/formatter ruff is recommended in its place. * Fix inconsistent comment style * Rename lint step * Include all ruff rules * Replace single quotes with double quotes (Q000) * Ignore some unused argument (ARG001/ARG002) * Delete unneeded pass statements * Use contextlib.suppress() to ignore exceptions * Ignore demand for __init__.py file * Change names to prevent shadowing * Ignore unused arguments * Combine comparisons * Return results instead of assigning to variable * Safer extraction of tar files * Replace .format() call with f-string * Ignore hard coded password warning * Replace Type with builtin type * Consistent function naming * Simpler types * Simpler set construction * Ignored warnings * Add return type * Spacing * Globally ignored warnings * Use single quotes to nest for earlier Pythons * Remove flake8 and flake8-markdown Ruff handles flake8 errors, and there is nothing for flake8-markdown to check.
- Loading branch information
Showing
21 changed files
with
386 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.