Skip to content

Conversation

tony
Copy link
Member

@tony tony commented Sep 24, 2023

- "ICN", # flake8-import-conventions
- "N", # pep8-naming
- "D", # pydocstyle
- "PT", # flake8-pytest-style
ruff . --show-fixes --fix-only
warning: `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible. Ignoring `one-blank-line-before-class`.
warning: `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible. Ignoring `multi-line-summary-second-line`.

Fixed 19 errors:
- conftest.py:
    2 × PT003 (pytest-extraneous-scope-function)
    1 × PT025 (pytest-erroneous-use-fixtures-on-fixture)
- docs/conf.py:
    1 × D212 (multi-line-summary-first-line)
    1 × D415 (ends-in-punctuation)
    1 × D400 (ends-in-period)
- src/vcspull/_internal/config_reader.py:
    1 × D415 (ends-in-punctuation)
    1 × D400 (ends-in-period)
- src/vcspull/config.py:
    1 × D415 (ends-in-punctuation)
    1 × D400 (ends-in-period)
- src/vcspull/exc.py:
    1 × D211 (blank-line-before-class)
- src/vcspull/log.py:
    1 × D202 (no-blank-line-after-function)
- src/vcspull/util.py:
    1 × D212 (multi-line-summary-first-line)
    1 × D202 (no-blank-line-after-function)
- tests/test_config.py:
    1 × PT001 (pytest-fixture-incorrect-parentheses-style)
- tests/test_config_file.py:
    2 × PT003 (pytest-extraneous-scope-function)
- tests/test_sync.py:
    2 × PT006 (pytest-parametrize-names-wrong-type)
tests/test_config_file.py:197:5: PT012 `pytest.raises()` block should contain a single simple statement
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.

1 participant