-
Notifications
You must be signed in to change notification settings - Fork 229
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
pyproject(ruff): Add pydocstyle rule selector w/ numpy convention #891
Merged
Conversation
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
tony
force-pushed
the
pydocstyle
branch
4 times, most recently
from
December 16, 2023 10:06
c89d728
to
2fcda55
Compare
tony
force-pushed
the
pydocstyle
branch
6 times, most recently
from
December 21, 2023 16:49
b131770
to
60619a6
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #891 +/- ##
==========================================
+ Coverage 70.49% 70.50% +0.01%
==========================================
Files 25 25
Lines 1935 1936 +1
Branches 407 407
==========================================
+ Hits 1364 1365 +1
Misses 448 448
Partials 123 123 ☔ View full report in Codecov by Sentry. |
`ruff --show-fixes --fix-only .` Fixed 45 errors: - docs/_ext/aafig.py: 7 × D208 (over-indentation) 1 × D202 (no-blank-line-after-function) - src/tmuxp/cli/__init__.py: 2 × D202 (no-blank-line-after-function) 1 × D209 (new-line-after-last-paragraph) - src/tmuxp/cli/freeze.py: 1 × D209 (new-line-after-last-paragraph) - src/tmuxp/cli/import_config.py: 2 × D209 (new-line-after-last-paragraph) - src/tmuxp/cli/load.py: 2 × D412 (blank-lines-between-header-and-content) 1 × D406 (new-line-after-section-name) 1 × D407 (dashed-underline-after-section) - src/tmuxp/cli/utils.py: 3 × D202 (no-blank-line-after-function) - src/tmuxp/exc.py: 5 × D211 (blank-line-before-class) - src/tmuxp/log.py: 1 × D202 (no-blank-line-after-function) - src/tmuxp/types.py: 1 × D412 (blank-lines-between-header-and-content) - src/tmuxp/workspace/builder.py: 2 × D202 (no-blank-line-after-function) 1 × D412 (blank-lines-between-header-and-content) - src/tmuxp/workspace/finders.py: 1 × D202 (no-blank-line-after-function) - src/tmuxp/workspace/freezer.py: 1 × D202 (no-blank-line-after-function) - src/tmuxp/workspace/importers.py: 2 × D202 (no-blank-line-after-function) 1 × D412 (blank-lines-between-header-and-content) - src/tmuxp/workspace/loader.py: 2 × D202 (no-blank-line-after-function) - tests/cli/test_cli.py: 1 × D202 (no-blank-line-after-function) - tests/tests/test_helpers.py: 1 × D202 (no-blank-line-after-function) - tests/workspace/test_finder.py: 3 × D202 (no-blank-line-after-function) - tests/workspace/test_freezer.py: 1 × D202 (no-blank-line-after-function) - tests/workspace/test_import_teamocil.py: 1 × D209 (new-line-after-last-paragraph) Fixed 45 errors (35 additional fixes available with `--unsafe-fixes`).
`ruff --show-fixes --fix-only --unsafe-fixes .` Fixed 35 errors: - conftest.py: 1 × D400 (ends-in-period) - docs/_ext/aafig.py: 2 × D200 (fits-on-one-line) 1 × D400 (ends-in-period) - docs/conf.py: 1 × D400 (ends-in-period) - src/tmuxp/_types.py: 1 × D400 (ends-in-period) - src/tmuxp/cli/debug_info.py: 4 × D200 (fits-on-one-line) - src/tmuxp/cli/load.py: 6 × D400 (ends-in-period) 1 × D200 (fits-on-one-line) - src/tmuxp/cli/utils.py: 5 × D400 (ends-in-period) 1 × D200 (fits-on-one-line) - src/tmuxp/config_reader.py: 1 × D400 (ends-in-period) - src/tmuxp/plugin.py: 2 × D200 (fits-on-one-line) - src/tmuxp/shell.py: 1 × D400 (ends-in-period) - src/tmuxp/types.py: 1 × D400 (ends-in-period) - src/tmuxp/util.py: 1 × D400 (ends-in-period) - tests/fixtures/pluginsystem/partials/_types.py: 2 × D400 (ends-in-period) - tests/fixtures/utils.py: 2 × D400 (ends-in-period) - tests/tests/test_helpers.py: 1 × D400 (ends-in-period) - tests/workspace/conftest.py: 1 × D400 (ends-in-period) Fixed 35 errors.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Appendix