You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scripts/generate_gitlab.py:45:8: PTH113 `os.path.isfile()` should be replaced by `Path.is_file()`
scripts/generate_gitlab.py:60:19: SIM115 Use context handler for opening files
scripts/generate_gitlab.py:60:19: PTH123 `open()` should be replaced by `Path.open()`
scripts/generate_gitlab.py:75:15: PTH109 `os.getcwd()` should be replaced by `Path.cwd()`
scripts/generate_gitlab.py:93:15: TRY002 Create your own exception
scripts/generate_gitlab.py:93:15: TRY003 Avoid specifying long messages outside the exception class
src/vcspull/_internal/config_reader.py:105:19: SIM115 Use context handler for opening files
src/vcspull/_internal/config_reader.py:105:19: PTH123 `open()` should be replaced by `Path.open()`
src/vcspull/cli/sync.py:95:9: PERF203 `try`-`except` within a loop incurs performance overhead
src/vcspull/cli/sync.py:107:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
src/vcspull/cli/sync.py:107:21: TRY200 Use `raise from` to specify exception cause
src/vcspull/cli/sync.py:147:19: TRY002 Create your own exception
src/vcspull/cli/sync.py:147:19: TRY003 Avoid specifying long messages outside the exception class
src/vcspull/config.py:31:45: B008 Do not perform function call `pathlib.Path.cwd` in argument defaults
src/vcspull/config.py:47:25: PTH111 `os.path.expanduser()` should be replaced by `Path.expanduser()`
src/vcspull/config.py:55:50: B008 Do not perform function call `pathlib.Path.cwd` in argument defaults
src/vcspull/config.py:145:32: PTH111 `os.path.expanduser()` should be replaced by `Path.expanduser()`
src/vcspull/config.py:147:32: PTH111 `os.path.expanduser()` should be replaced by `Path.expanduser()`
src/vcspull/config.py:214:29: PTH111 `os.path.expanduser()` should be replaced by `Path.expanduser()`
src/vcspull/config.py:230:52: B008 Do not perform function call `pathlib.Path.cwd` in argument defaults
src/vcspull/config.py:336:13: PERF401 Use a list comprehension to create a transformed list
src/vcspull/util.py:12:21: PTH111 `os.path.expanduser()` should be replaced by `Path.expanduser()`
src/vcspull/util.py:34:22: PTH118 `os.path.join()` should be replaced by `Path` with `/` operator
src/vcspull/util.py:41:16: PTH111 `os.path.expanduser()` should be replaced by `Path.expanduser()`
src/vcspull/util.py:42:12: PTH112 `os.path.isdir()` should be replaced by `Path.is_dir()`
tests/test_config_file.py:96:13: PERF401 Use a list comprehension to create a transformed list
tests/test_config_file.py:393:10: B017 `pytest.raises(Exception)` should be considered evil
Found 27 errors.
0 commit comments