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

pyproject(ruff): Add pydocstyle rule selector w/ numpy convention #891

Merged
merged 94 commits into from
Dec 21, 2023

Conversation

tony
Copy link
Member

@tony tony commented Dec 3, 2023

@tony tony force-pushed the pydocstyle branch 4 times, most recently from c89d728 to 2fcda55 Compare December 16, 2023 10:06
@tony tony force-pushed the pydocstyle branch 6 times, most recently from b131770 to 60619a6 Compare December 21, 2023 16:49
@tony tony marked this pull request as ready for review December 21, 2023 17:12
Copy link

codecov bot commented Dec 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (83e9719) 70.49% compared to head (f8055cb) 70.50%.

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.
📢 Have feedback on the report? Share it here.

`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.
@tony tony merged commit 6479e01 into master Dec 21, 2023
16 checks passed
@tony tony deleted the pydocstyle branch December 21, 2023 17:28
tony added a commit that referenced this pull request Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant