-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ruff) Automated fixes for typing annotations
Fixed 134 errors: - conftest.py: 1 × TC003 (typing-only-standard-library-import) 1 × I002 (missing-required-import) - docs/conf.py: 2 × UP037 (quoted-annotation) 1 × I002 (missing-required-import) 1 × I001 (unsorted-imports) 1 × UP007 (non-pep604-annotation) - scripts/generate_gitlab.py: 1 × I001 (unsorted-imports) 1 × TC001 (typing-only-first-party-import) 1 × I002 (missing-required-import) - src/vcspull/__about__.py: 1 × I002 (missing-required-import) - src/vcspull/__init__.py: 1 × I001 (unsorted-imports) 1 × I002 (missing-required-import) - src/vcspull/_internal/config_reader.py: 8 × UP037 (quoted-annotation) 1 × I001 (unsorted-imports) 1 × I002 (missing-required-import) - src/vcspull/cli/__init__.py: 2 × UP007 (non-pep604-annotation) 1 × I002 (missing-required-import) - src/vcspull/cli/sync.py: 3 × TC003 (typing-only-standard-library-import) 2 × UP007 (non-pep604-annotation) 2 × TC002 (typing-only-third-party-import) 1 × I002 (missing-required-import) 1 × I001 (unsorted-imports) - src/vcspull/config.py: 17 × UP007 (non-pep604-annotation) 8 × UP037 (quoted-annotation) 1 × I002 (missing-required-import) 1 × TC003 (typing-only-standard-library-import) 1 × I001 (unsorted-imports) - src/vcspull/exc.py: 1 × I002 (missing-required-import) - src/vcspull/log.py: 1 × UP007 (non-pep604-annotation) 1 × I002 (missing-required-import) - src/vcspull/types.py: 3 × UP007 (non-pep604-annotation) 3 × TC002 (typing-only-third-party-import) 1 × TC003 (typing-only-standard-library-import) 1 × I002 (missing-required-import) 1 × I001 (unsorted-imports) - src/vcspull/util.py: 1 × I002 (missing-required-import) - src/vcspull/validator.py: 1 × I002 (missing-required-import) 1 × UP037 (quoted-annotation) - tests/__init__.py: 1 × I002 (missing-required-import) - tests/fixtures/example.py: 1 × I002 (missing-required-import) 1 × UP037 (quoted-annotation) - tests/helpers.py: 1 × UP037 (quoted-annotation) 1 × TC003 (typing-only-standard-library-import) 1 × I002 (missing-required-import) 1 × I001 (unsorted-imports) 1 × PYI034 (non-self-return-type) - tests/test_cli.py: 24 × UP037 (quoted-annotation) 1 × TC003 (typing-only-standard-library-import) 1 × I002 (missing-required-import) 1 × TC002 (typing-only-third-party-import) 1 × I001 (unsorted-imports) - tests/test_config.py: 2 × UP037 (quoted-annotation) 1 × I002 (missing-required-import) 1 × UP007 (non-pep604-annotation) 1 × TC003 (typing-only-standard-library-import) 1 × I001 (unsorted-imports) - tests/test_config_file.py: 1 × I002 (missing-required-import) - tests/test_repo.py: 1 × I001 (unsorted-imports) 1 × TC003 (typing-only-standard-library-import) 1 × I002 (missing-required-import) - tests/test_sync.py: 1 × I002 (missing-required-import) 1 × TC003 (typing-only-standard-library-import) 1 × TC002 (typing-only-third-party-import) 1 × I001 (unsorted-imports) - tests/test_utils.py: 3 × I001 (unsorted-imports) 1 × TC003 (typing-only-standard-library-import) 1 × I002 (missing-required-import) 1 × TC002 (typing-only-third-party-import) Found 460 errors (134 fixed, 326 remaining). 20 files reformatted, 5 files left unchanged uv run ruff check --select ALL . --fix --unsafe-fixes --preview --show-fixes; uv run ruff format .
- Loading branch information
Showing
23 changed files
with
163 additions
and
92 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
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.