Skip to content

Instantly share code, notes, and snippets.

@jaraco
Created March 26, 2024 02:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaraco/066032d456c816caef90ed2563cce1ec to your computer and use it in GitHub Desktop.
Save jaraco/066032d456c816caef90ed2563cce1ec to your computer and use it in GitHub Desktop.
jaraco.zstd
All checks passed!
jaraco.net
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/devices/__init__.py:9:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/devices/darwin.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/devices/win32.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/dns.py:3:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/dns.py:85:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/net/dnsbl.py:5:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/http/__init__.py:5:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/http/caching.py:6:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/http/cookies.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/http/htmldir.py:2:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/http/htmldir.py:51:19: UP032 [*] Use f-string instead of `format` call
jaraco/net/http/servers.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/http/static.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/http/staticdirindex.py:2:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/icmp.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/icmp.py:66:15: UP032 [*] Use f-string instead of `format` call
jaraco/net/importer.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/inet.py:12:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/inet.py:82:26: B008 Do not perform function call `range` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
jaraco/net/ntp.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/ping-isp.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/rss.py:5:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/scanner.py:7:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/stats.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/tcp.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/tcp.py:22:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/net/udp.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/net/wake.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_cookies.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 30 errors.
[*] 27 fixable with the `--fix` option.
jaraco.video
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/video/api/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/video/api/objects.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/video/capture.py:1:1: UP009 [*] UTF-8 encoding declaration is unnecessary
jaraco/video/capture.py:15:1: UP010 [*] Unnecessary `__future__` import `absolute_import` for target Python version
jaraco/video/capture.py:15:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/video/capture.py:66:9: B007 Loop control variable `x` not used within loop body
jaraco/video/capture.py:80:14: UP004 [*] Class `Device` inherits from `object`
jaraco/video/capture.py:101:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/video/capture.py:306:29: UP030 Use implicit references for positional format fields
jaraco/video/capture.py:306:29: UP032 [*] Use f-string instead of `format` call
jaraco/video/capture.py:307:19: UP030 Use implicit references for positional format fields
jaraco/video/capture.py:307:19: UP032 [*] Use f-string instead of `format` call
jaraco/video/capture.py:310:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/video/capture.py:357:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/video/capture.py:357:30: UP030 Use implicit references for positional format fields
jaraco/video/capture.py:357:30: UP032 [*] Use f-string instead of `format` call
jaraco/video/capture.py:363:17: UP034 [*] Avoid extraneous parentheses
jaraco/video/capture.py:383:30: UP030 Use implicit references for positional format fields
jaraco/video/capture.py:383:30: UP032 [*] Use f-string instead of `format` call
jaraco/video/util.py:1:1: UP010 [*] Unnecessary `__future__` import `print_function` for target Python version
jaraco/video/util.py:6:1: I001 [*] Import block is un-sorted or un-formatted
Found 22 errors.
[*] 14 fixable with the `--fix` option (5 hidden fixes can be enabled with the `--unsafe-fixes` option).
/pypa/twine
tests/conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_auth.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_auth.py:55:9: B018 Found useless attribute access. Either assign it to a variable or remove it.
tests/test_auth.py:60:9: B018 Found useless attribute access. Either assign it to a variable or remove it.
tests/test_auth.py:118:9: B018 Found useless attribute access. Either assign it to a variable or remove it.
tests/test_auth.py:125:9: B018 Found useless attribute access. Either assign it to a variable or remove it.
tests/test_auth.py:175:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
tests/test_commands.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_register.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_repository.py:14:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_repository.py:178:5: B010 [*] Do not call `setattr` with a constant attribute value. It is not any safer than normal property access.
tests/test_repository.py:179:5: B010 [*] Do not call `setattr` with a constant attribute value. It is not any safer than normal property access.
tests/test_settings.py:16:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_settings.py:137:9: B018 Found useless expression. Either assign it to a variable or remove it.
tests/test_upload.py:14:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_utils.py:15:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_wheel.py:14:1: I001 [*] Import block is un-sorted or un-formatted
twine/__main__.py:15:1: I001 [*] Import block is un-sorted or un-formatted
twine/auth.py:1:1: I001 [*] Import block is un-sorted or un-formatted
twine/auth.py:32:5: B019 Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
twine/auth.py:32:25: UP011 [*] Unnecessary parentheses to `functools.lru_cache`
twine/auth.py:49:5: B019 Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
twine/auth.py:49:25: UP011 [*] Unnecessary parentheses to `functools.lru_cache`
twine/commands/register.py:16:1: I001 [*] Import block is un-sorted or un-formatted
twine/commands/upload.py:16:1: I001 [*] Import block is un-sorted or un-formatted
twine/exceptions.py:70:13: UP032 [*] Use f-string instead of `format` call
twine/package.py:14:1: I001 [*] Import block is un-sorted or un-formatted
twine/package.py:98:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
twine/package.py:226:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
twine/package.py:234:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
twine/settings.py:16:1: I001 [*] Import block is un-sorted or un-formatted
twine/utils.py:14:1: I001 [*] Import block is un-sorted or un-formatted
twine/utils.py:115:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
twine/utils.py:138:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
twine/utils.py:140:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Found 35 errors.
[*] 21 fixable with the `--fix` option.
jaraco.keyring
jaraco/keyring/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/keyring/__init__.py:16:17: UP031 Use format specifiers instead of percent format
jaraco/keyring/server.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 3 errors.
[*] 2 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
jaraco.text
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/text/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/text/__init__.py:11:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/text/show-newlines.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/text/to-dvorak.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/text/to-qwerty.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 6 errors.
[*] 6 fixable with the `--fix` option.
jaraco.translate
jaraco/translate/__main__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/translate/pmxbot.py:1:1: UP010 [*] Unnecessary `__future__` import `absolute_import` for target Python version
jaraco/translate/pmxbot.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 3 errors.
[*] 3 fixable with the `--fix` option.
jaraco.develop
jaraco/develop/add-github-secret.py:7:45: B008 Do not perform function call `github.Repo.detect` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
jaraco/develop/add-github-secrets.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/develop/add-github-secrets.py:35:32: B008 Do not perform function call `github.Repo.detect` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
jaraco/develop/checkout-all.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/develop/checkout-all.py:10:30: B008 Do not perform function call `path.Path` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
jaraco/develop/compiler.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/develop/cpython-sync.py:5:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/develop/cpython-sync.py:23:13: B034 `re.sub` should pass `count` and `flags` as keyword arguments to avoid confusion due to unintuitive argument positions
jaraco/develop/create-github-release.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/develop/create-github-release.py:8:32: B008 Do not perform function call `github.Repo.detect` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
jaraco/develop/git.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/develop/git.py:64:25: UP011 [*] Unnecessary parentheses to `functools.lru_cache`
jaraco/develop/git.py:144:48: B008 Do not perform function call `path.Path` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
jaraco/develop/git.py:186:43: B008 Do not perform function call `path.Path` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
jaraco/develop/git.py:195:21: UP011 [*] Unnecessary parentheses to `functools.lru_cache`
jaraco/develop/github.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/develop/github.py:26:25: UP011 [*] Unnecessary parentheses to `functools.lru_cache`
jaraco/develop/github.py:48:5: B019 Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
jaraco/develop/github.py:48:25: UP011 [*] Unnecessary parentheses to `functools.lru_cache`
jaraco/develop/indent.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/develop/init-azure.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/develop/macos-build-python.py:7:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/develop/macos-build-python.py:14:21: UP011 [*] Unnecessary parentheses to `functools.lru_cache`
jaraco/develop/merge.py:5:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/develop/projects-run.py:5:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/develop/pypi.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/develop/repo.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/develop/rtd.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/develop/rtd.py:10:21: UP011 [*] Unnecessary parentheses to `functools.lru_cache`
jaraco/develop/towncrier.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/develop/update-projects.py:12:1: I001 [*] Import block is un-sorted or un-formatted
Found 31 errors.
[*] 23 fixable with the `--fix` option.
jaraco.itertools
jaraco/itertools.py:6:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/itertools.py:130:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/itertools.py:279:22: UP031 Use format specifiers instead of percent format
jaraco/itertools.py:395:5: B028 No explicit `stacklevel` keyword argument found
jaraco/itertools.py:681:9: B007 Loop control variable `item` not used within loop body
jaraco/itertools.py:686:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/itertools.py:1097:5: UP028 Replace `yield` over `for` loop with `yield from`
Found 7 errors.
[*] 1 fixable with the `--fix` option (2 hidden fixes can be enabled with the `--unsafe-fixes` option).
compilers
All checks passed!
backports.entry_points_selectable
backports/entry_points_selectable.py:17:1: I001 [*] Import block is un-sorted or un-formatted
backports/entry_points_selectable.py:35:1: I001 [*] Import block is un-sorted or un-formatted
backports/entry_points_selectable.py:38:1: I001 [*] Import block is un-sorted or un-formatted
backports/entry_points_selectable.py:41:1: I001 [*] Import block is un-sorted or un-formatted
backports/entry_points_selectable.py:157:25: UP008 Use `super()` instead of `super(__class__, self)`
backports/entry_points_selectable.py:161:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Found 6 errors.
[*] 4 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
paradocx
paradocx/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
paradocx/document.py:1:1: I001 [*] Import block is un-sorted or un-formatted
paradocx/image.py:1:1: I001 [*] Import block is un-sorted or un-formatted
paradocx/image.py:22:14: UP008 Use `super()` instead of `super(__class__, self)`
paradocx/image.py:39:17: B028 No explicit `stacklevel` keyword argument found
paradocx/numbering.py:16:25: UP004 [*] Class `AbstractNumbering` inherits from `object`
paradocx/numbering.py:22:17: UP004 [*] Class `Numbering` inherits from `object`
paradocx/package.py:25:14: UP008 Use `super()` instead of `super(__class__, self)`
paradocx/package.py:30:14: UP008 Use `super()` instead of `super(__class__, self)`
paradocx/package.py:31:14: UP008 Use `super()` instead of `super(__class__, self)`
paradocx/package.py:58:1: I001 [*] Import block is un-sorted or un-formatted
paradocx/styles.py:1:1: I001 [*] Import block is un-sorted or un-formatted
paradocx/util.py:1:1: I001 [*] Import block is un-sorted or un-formatted
paradocx/util.py:29:16: UP031 Use format specifiers instead of percent format
paradocx/util.py:36:22: UP004 [*] Class `TemplateSource` inherits from `object`
tests/test_image.py:5:1: UP010 [*] Unnecessary `__future__` import `with_statement` for target Python version
tests/test_image.py:5:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_sample.py:3:1: I001 [*] Import block is un-sorted or un-formatted
Found 18 errors.
[*] 12 fixable with the `--fix` option (5 hidden fixes can be enabled with the `--unsafe-fixes` option).
jaraco.geo
jaraco/geo/__init__.py:1:1: UP009 [*] UTF-8 encoding declaration is unnecessary
jaraco/geo/__init__.py:3:1: UP010 [*] Unnecessary `__future__` import `unicode_literals` for target Python version
jaraco/geo/__init__.py:39:11: UP004 [*] Class `DMS` inherits from `object`
jaraco/geo/__init__.py:135:16: UP030 Use implicit references for positional format fields
jaraco/geo/__init__.py:177:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/geo/geotrans2_lib.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/abstract_reference_test.py:51:1: I001 [*] Import block is un-sorted or un-formatted
tests/basic_test.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_mgrs_to_latlong.py:4:1: I001 [*] Import block is un-sorted or un-formatted
Found 9 errors.
[*] 7 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
jaraco.test
jaraco/test/cpython.py:10:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/test/http.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/test/http.py:49:9: B007 Loop control variable `marker` not used within loop body
Found 3 errors.
[*] 2 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
/MestreLion/git-tools
warning: No Python files found under the given path(s)
All checks passed!
keyrings.gauth
keyrings/gauth.py:1:1: I001 [*] Import block is un-sorted or un-formatted
keyrings/gauth.py:10:5: B018 Found useless expression. Either assign it to a variable or remove it.
Found 2 errors.
[*] 1 fixable with the `--fix` option.
treehouse
All checks passed!
backports.functools_lru_cache
backports/functools_lru_cache.py:1:1: UP010 [*] Unnecessary `__future__` import `absolute_import` for target Python version
backports/functools_lru_cache.py:49:15: B008 Do not perform function call `object` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
backports/functools_lru_cache.py:50:15: B006 Do not use mutable data structures for argument defaults
Found 3 errors.
[*] 1 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
jaraco.docker
jaraco/docker/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 1 error.
[*] 1 fixable with the `--fix` option.
xlsxcessive
sample.py:80:24: UP025 [*] Remove unicode literals from strings
sample.py:83:1: I001 [*] Import block is un-sorted or un-formatted
tests/integration/test_save.py:75:32: UP025 [*] Remove unicode literals from strings
tests/unit/test_cell.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/unit/test_worksheet.py:32:52: UP031 Use format specifiers instead of percent format
www/homepage.py:1:1: I001 [*] Import block is un-sorted or un-formatted
xlsxcessive/style.py:1:1: I001 [*] Import block is un-sorted or un-formatted
xlsxcessive/style.py:179:20: UP031 Use format specifiers instead of percent format
xlsxcessive/workbook.py:1:1: I001 [*] Import block is un-sorted or un-formatted
xlsxcessive/worksheet.py:3:1: I001 [*] Import block is un-sorted or un-formatted
xlsxcessive/worksheet.py:13:1: I001 [*] Import block is un-sorted or un-formatted
xlsxcessive/worksheet.py:65:29: UP031 Use format specifiers instead of percent format
xlsxcessive/worksheet.py:82:16: UP031 Use format specifiers instead of percent format
xlsxcessive/worksheet.py:223:16: UP031 Use format specifiers instead of percent format
xlsxcessive/worksheet.py:310:28: UP031 Use format specifiers instead of percent format
xlsxcessive/worksheet.py:452:16: UP031 Use format specifiers instead of percent format
xlsxcessive/xlsx.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 17 errors.
[*] 10 fixable with the `--fix` option (7 hidden fixes can be enabled with the `--unsafe-fixes` option).
jaraco.parables
jaraco/parables/text_gen.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/parables/text_gen.py:8:5: B018 Found useless expression. Either assign it to a variable or remove it.
jaraco/parables/text_gen.py:45:9: B007 Loop control variable `i` not used within loop body
jaraco/parables/text_gen.py:64:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Found 4 errors.
[*] 1 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
jaraco.abode
All checks passed!
nspektr
nspektr/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
nspektr/__init__.py:107:25: B006 Do not use mutable data structures for argument defaults
nspektr/_compat.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 3 errors.
[*] 2 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
/pypa/distutils
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
conftest.py:96:1: I001 [*] Import block is un-sorted or un-formatted
distutils/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
distutils/_collections.py:143:44: B006 Do not use mutable data structures for argument defaults
distutils/_log.py:1:1: I001 [*] Import block is un-sorted or un-formatted
distutils/_macos_compat.py:1:1: I001 [*] Import block is un-sorted or un-formatted
distutils/_modified.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/_msvccompiler.py:16:1: I001 [*] Import block is un-sorted or un-formatted
distutils/_msvccompiler.py:25:1: I001 [*] Import block is un-sorted or un-formatted
distutils/_msvccompiler.py:152:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/_msvccompiler.py:381:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/_msvccompiler.py:406:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/_msvccompiler.py:421:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/_msvccompiler.py:441:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/_msvccompiler.py:510:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/_msvccompiler.py:535:9: B028 No explicit `stacklevel` keyword argument found
distutils/archive_util.py:6:1: I001 [*] Import block is un-sorted or un-formatted
distutils/archive_util.py:16:1: I001 [*] Import block is un-sorted or un-formatted
distutils/archive_util.py:124:9: B028 No explicit `stacklevel` keyword argument found
distutils/archive_util.py:162:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/archive_util.py:263:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/bcppcompiler.py:14:1: I001 [*] Import block is un-sorted or un-formatted
distutils/bcppcompiler.py:30:1: B028 No explicit `stacklevel` keyword argument found
distutils/bcppcompiler.py:129:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/bcppcompiler.py:158:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/bcppcompiler.py:177:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/bcppcompiler.py:308:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/bcppcompiler.py:396:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/ccompiler.py:6:1: I001 [*] Import block is un-sorted or un-formatted
distutils/ccompiler.py:172:21: UP031 Use format specifiers instead of percent format
distutils/ccompiler.py:851:13: B028 No explicit `stacklevel` keyword argument found
distutils/ccompiler.py:855:13: B028 No explicit `stacklevel` keyword argument found
distutils/ccompiler.py:974:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/ccompiler.py:1152:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/ccompiler.py:1160:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/ccompiler.py:1164:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/ccompiler.py:1165:13: UP031 Use format specifiers instead of percent format
distutils/ccompiler.py:1213:32: UP031 Use format specifiers instead of percent format
distutils/cmd.py:7:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/_framework_compat.py:5:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/bdist.py:6:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/bdist.py:121:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/command/bdist.py:136:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/command/bdist_dumb.py:7:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/bdist_dumb.py:81:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/command/bdist_dumb.py:107:28: UP032 [*] Use f-string instead of `format` call
distutils/command/bdist_dumb.py:119:21: UP031 Use format specifiers instead of percent format
distutils/command/bdist_rpm.py:6:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/bdist_rpm.py:235:13: UP031 Use format specifiers instead of percent format
distutils/command/bdist_rpm.py:355:17: UP032 [*] Use f-string instead of `format` call
distutils/command/build.py:5:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/build.py:122:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/command/build_clib.py:17:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/build_clib.py:157:23: B007 Loop control variable `build_info` not used within loop body
distutils/command/build_ext.py:7:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/build_ext.py:295:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/command/build_py.py:5:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/build_py.py:68:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/command/build_py.py:139:13: B007 Loop control variable `package` not used within loop body
distutils/command/build_py.py:312:30: B007 Loop control variable `module_file` not used within loop body
distutils/command/build_scripts.py:5:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/build_scripts.py:112:25: UP031 Use format specifiers instead of percent format
distutils/command/build_scripts.py:159:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/command/build_scripts.py:160:17: UP032 [*] Use f-string instead of `format` call
distutils/command/build_scripts.py:169:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/command/build_scripts.py:170:17: UP032 [*] Use f-string instead of `format` call
distutils/command/check.py:12:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/check.py:36:64: B026 Star-arg unpacking after a keyword argument is strongly discouraged
distutils/command/check.py:84:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/command/clean.py:7:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/config.py:12:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/config.py:328:25: B006 Do not use mutable data structures for argument defaults
distutils/command/install.py:5:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/install.py:605:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/command/install.py:689:13: B007 Loop control variable `name` not used within loop body
distutils/command/install_data.py:8:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/install_data.py:53:25: UP031 Use format specifiers instead of percent format
distutils/command/install_egg_info.py:8:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/install_lib.py:6:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/install_lib.py:88:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/command/install_scripts.py:8:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/register.py:8:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/register.py:68:9: B028 No explicit `stacklevel` keyword argument found
distutils/command/register.py:280:17: B020 Loop control variable `value` overrides iterable it iterates
distutils/command/sdist.py:5:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/sdist.py:26:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/sdist.py:184:9: B028 No explicit `stacklevel` keyword argument found
distutils/command/sdist.py:313:13: B007 Loop control variable `pkg` not used within loop body
distutils/command/sdist.py:313:27: B007 Loop control variable `build_dir` not used within loop body
distutils/command/upload.py:8:1: I001 [*] Import block is un-sorted or un-formatted
distutils/command/upload.py:159:17: B020 Loop control variable `value` overrides iterable it iterates
distutils/config.py:7:1: I001 [*] Import block is un-sorted or un-formatted
distutils/core.py:9:1: I001 [*] Import block is un-sorted or un-formatted
distutils/core.py:150:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/core.py:152:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/core.py:174:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/core.py:203:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/core.py:209:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/core.py:215:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/cygwinccompiler.py:9:1: I001 [*] Import block is un-sorted or un-formatted
distutils/cygwinccompiler.py:65:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/cygwinccompiler.py:139:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/cygwinccompiler.py:146:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/dir_util.py:5:1: I001 [*] Import block is un-sorted or un-formatted
distutils/dir_util.py:76:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/dir_util.py:144:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/dist.py:7:1: I001 [*] Import block is un-sorted or un-formatted
distutils/dist.py:20:1: I001 [*] Import block is un-sorted or un-formatted
distutils/dist.py:417:23: B007 Loop control variable `src` not used within loop body
distutils/dist.py:427:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/dist.py:536:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/dist.py:588:30: B007 Loop control variable `short` not used within loop body
distutils/dist.py:588:37: B007 Loop control variable `desc` not used within loop body
distutils/dist.py:595:29: UP031 Use format specifiers instead of percent format
distutils/dist.py:624:80: B006 Do not use mutable data structures for argument defaults
distutils/dist.py:638:1: I001 [*] Import block is un-sorted or un-formatted
distutils/dist.py:836:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/dist.py:837:21: UP031 Use format specifiers instead of percent format
distutils/dist.py:912:25: UP031 Use format specifiers instead of percent format
distutils/dist.py:916:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/extension.py:134:13: B028 No explicit `stacklevel` keyword argument found
distutils/extension.py:137:16: UP032 [*] Use f-string instead of `format` call
distutils/extension.py:147:1: I001 [*] Import block is un-sorted or un-formatted
distutils/fancy_getopt.py:11:1: I001 [*] Import block is un-sorted or un-formatted
distutils/fancy_getopt.py:119:21: UP031 Use format specifiers instead of percent format
distutils/fancy_getopt.py:124:21: UP031 Use format specifiers instead of percent format
distutils/fancy_getopt.py:190:29: UP031 Use format specifiers instead of percent format
distutils/fancy_getopt.py:203:25: UP031 Use format specifiers instead of percent format
distutils/fancy_getopt.py:248:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/fancy_getopt.py:453:32: B006 Do not use mutable data structures for argument defaults
distutils/file_util.py:6:1: I001 [*] Import block is un-sorted or un-formatted
distutils/file_util.py:29:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/file_util.py:35:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/file_util.py:40:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/file_util.py:46:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/file_util.py:54:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/file_util.py:103:1: I001 [*] Import block is un-sorted or un-formatted
distutils/file_util.py:125:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/file_util.py:178:1: I001 [*] Import block is un-sorted or un-formatted
distutils/file_util.py:210:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/file_util.py:222:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/file_util.py:223:17: UP031 Use format specifiers instead of percent format
distutils/filelist.py:7:1: I001 [*] Import block is un-sorted or un-formatted
distutils/log.py:7:1: I001 [*] Import block is un-sorted or un-formatted
distutils/log.py:46:9: B028 No explicit `stacklevel` keyword argument found
distutils/msvc9compiler.py:15:1: I001 [*] Import block is un-sorted or un-formatted
distutils/msvc9compiler.py:34:1: B028 No explicit `stacklevel` keyword argument found
distutils/msvc9compiler.py:160:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/msvc9compiler.py:536:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/msvc9compiler.py:561:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/msvc9compiler.py:577:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/msvc9compiler.py:596:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/msvc9compiler.py:676:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/msvc9compiler.py:690:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/msvccompiler.py:11:1: I001 [*] Import block is un-sorted or un-formatted
distutils/msvccompiler.py:66:1: B028 No explicit `stacklevel` keyword argument found
distutils/msvccompiler.py:148:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/msvccompiler.py:428:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/msvccompiler.py:453:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/msvccompiler.py:469:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/msvccompiler.py:488:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/msvccompiler.py:567:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/msvccompiler.py:638:19: UP032 [*] Use f-string instead of `format` call
distutils/msvccompiler.py:644:17: UP031 Use format specifiers instead of percent format
distutils/msvccompiler.py:687:1: I001 [*] Import block is un-sorted or un-formatted
distutils/spawn.py:9:1: I001 [*] Import block is un-sorted or un-formatted
distutils/sysconfig.py:12:1: I001 [*] Import block is un-sorted or un-formatted
distutils/sysconfig.py:127:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/sysconfig.py:554:9: B028 No explicit `stacklevel` keyword argument found
distutils/tests/__init__.py:11:43: B006 Do not use mutable data structures for argument defaults
distutils/tests/__init__.py:20:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/py37compat.py:1:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/support.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_archive_util.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_bdist_dumb.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_bdist_dumb.py:76:19: UP031 Use format specifiers instead of percent format
distutils/tests/test_bdist_rpm.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_build.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_build_clib.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_build_ext.py:1:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_build_py.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_build_scripts.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_ccompiler.py:1:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_check.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_clean.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_clean.py:40:13: B007 Loop control variable `name` not used within loop body
distutils/tests/test_cmd.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_config.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_config_cmd.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_core.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_core.py:127:9: B015 Pointless comparison. Did you mean to assign a value? Otherwise, prepend `assert` or remove it.
distutils/tests/test_cygwinccompiler.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_dir_util.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_dist.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_extension.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_file_util.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_filelist.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_install.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_install.py:206:13: UP031 Use format specifiers instead of percent format
distutils/tests/test_install.py:238:13: UP031 Use format specifiers instead of percent format
distutils/tests/test_install_data.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_install_headers.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_install_lib.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_install_scripts.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_log.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_modified.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_msvc9compiler.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_msvccompiler.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_register.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_sdist.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_spawn.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_sysconfig.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_text_file.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_unixccompiler.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_unixccompiler.py:76:19: UP032 [*] Use f-string instead of `format` call
distutils/tests/test_upload.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_util.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_util.py:262:15: UP024 [*] Replace aliased errors with `OSError`
distutils/tests/test_version.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/tests/test_version.py:52:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/tests/test_version.py:53:25: UP031 Use format specifiers instead of percent format
distutils/tests/test_version.py:55:35: UP032 [*] Use f-string instead of `format` call
distutils/tests/test_version.py:59:35: UP032 [*] Use f-string instead of `format` call
distutils/tests/test_version.py:81:35: UP032 [*] Use f-string instead of `format` call
distutils/tests/test_version.py:85:35: UP032 [*] Use f-string instead of `format` call
distutils/tests/unix_compat.py:9:1: I001 [*] Import block is un-sorted or un-formatted
distutils/unixccompiler.py:16:1: I001 [*] Import block is un-sorted or un-formatted
distutils/unixccompiler.py:180:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/unixccompiler.py:187:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/unixccompiler.py:209:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/unixccompiler.py:268:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/util.py:7:1: I001 [*] Import block is un-sorted or un-formatted
distutils/util.py:33:8: UP036 Version block is outdated for minimum Python version
distutils/util.py:111:44: UP031 Use format specifiers instead of percent format
distutils/util.py:214:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
distutils/util.py:230:9: B028 No explicit `stacklevel` keyword argument found
distutils/util.py:450:21: UP031 Use format specifiers instead of percent format
distutils/util.py:490:25: UP031 Use format specifiers instead of percent format
distutils/version.py:29:1: I001 [*] Import block is un-sorted or un-formatted
distutils/version.py:216:20: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
distutils/versionpredicate.py:3:1: I001 [*] Import block is un-sorted or un-formatted
distutils/zosccompiler.py:14:1: I001 [*] Import block is un-sorted or un-formatted
distutils/zosccompiler.py:159:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Found 243 errors.
[*] 113 fixable with the `--fix` option (39 hidden fixes can be enabled with the `--unsafe-fixes` option).
lpaste
lpaste/clipboard.py:1:1: I001 [*] Import block is un-sorted or un-formatted
lpaste/lpaste.py:1:1: I001 [*] Import block is un-sorted or un-formatted
lpaste/lpaste.py:23:14: B034 `re.sub` should pass `count` and `flags` as keyword arguments to avoid confusion due to unintuitive argument positions
lpaste/lpaste.py:42:12: UP032 [*] Use f-string instead of `format` call
lpaste/source.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 5 errors.
[*] 4 fixable with the `--fix` option.
path
path/__init__.py:25:1: I001 [*] Import block is un-sorted or un-formatted
path/__init__.py:52:1: I001 [*] Import block is un-sorted or un-formatted
path/__init__.py:174:16: UP032 [*] Use f-string instead of `format` call
path/__init__.py:1685:9: B028 No explicit `stacklevel` keyword argument found
path/__init__.pyi:1:1: I001 [*] Import block is un-sorted or un-formatted
path/__init__.pyi:46:10: UP007 Use `X | Y` for type annotations
path/__init__.pyi:46:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:56:33: UP007 Use `X | Y` for type annotations
path/__init__.pyi:63:50: UP006 Use `type` instead of `Type` for type annotation
path/__init__.pyi:66:26: UP006 Use `type` instead of `Type` for type annotation
path/__init__.pyi:66:41: UP006 Use `type` instead of `Type` for type annotation
path/__init__.pyi:77:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:78:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:79:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:82:21: UP006 Use `type` instead of `Type` for type annotation
path/__init__.pyi:103:34: UP006 Use `tuple` instead of `Tuple` for type annotation
path/__init__.pyi:104:35: UP006 Use `tuple` instead of `Tuple` for type annotation
path/__init__.pyi:105:33: UP006 Use `tuple` instead of `Tuple` for type annotation
path/__init__.pyi:109:33: UP006 Use `list` instead of `List` for type annotation
path/__init__.pyi:109:38: UP007 Use `X | Y` for type annotations
path/__init__.pyi:110:30: UP006 Use `tuple` instead of `Tuple` for type annotation
path/__init__.pyi:110:36: UP007 Use `X | Y` for type annotations
path/__init__.pyi:111:40: UP007 Use `X | Y` for type annotations
path/__init__.pyi:112:45: UP007 Use `X | Y` for type annotations
path/__init__.pyi:116:53: UP006 Use `list` instead of `List` for type annotation
path/__init__.pyi:117:50: UP006 Use `list` instead of `List` for type annotation
path/__init__.pyi:118:51: UP006 Use `list` instead of `List` for type annotation
path/__init__.pyi:123:26: UP007 Use `X | Y` for type annotations
path/__init__.pyi:136:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:137:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:139:43: UP006 Use `list` instead of `List` for type annotation
path/__init__.pyi:146:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:147:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:148:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:150:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:157:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:158:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:159:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:168:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:169:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:170:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:179:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:180:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:181:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:190:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:191:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:192:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:201:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:202:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:203:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:212:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:213:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:214:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:225:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:226:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:227:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:229:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:237:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:238:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:239:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:241:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:249:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:250:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:251:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:253:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:254:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:257:25: UP007 Use `X | Y` for type annotations
path/__init__.pyi:257:54: UP007 Use `X | Y` for type annotations
path/__init__.pyi:260:30: UP007 Use `X | Y` for type annotations
path/__init__.pyi:265:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:267:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:276:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:281:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:282:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:284:10: UP006 Use `list` instead of `List` for type annotation
path/__init__.pyi:287:16: UP006 Use `list` instead of `List` for type annotation
path/__init__.pyi:288:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:290:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:319:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:330:34: UP007 Use `X | Y` for type annotations
path/__init__.pyi:334:16: UP007 Use `X | Y` for type annotations
path/__init__.pyi:334:22: UP006 Use `tuple` instead of `Tuple` for type annotation
path/__init__.pyi:334:39: UP006 Use `tuple` instead of `Tuple` for type annotation
path/__init__.pyi:336:13: UP006 Use `tuple` instead of `Tuple` for type annotation
path/__init__.pyi:337:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:340:33: UP007 Use `X | Y` for type annotations
path/__init__.pyi:343:30: UP007 Use `X | Y` for type annotations
path/__init__.pyi:343:58: UP007 Use `X | Y` for type annotations
path/__init__.pyi:362:38: UP007 Use `X | Y` for type annotations
path/__init__.pyi:374:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:385:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:396:32: UP006 Use `list` instead of `List` for type annotation
path/__init__.pyi:396:44: UP007 Use `X | Y` for type annotations
path/__init__.pyi:396:50: UP006 Use `list` instead of `List` for type annotation
path/__init__.pyi:396:61: UP006 Use `set` instead of `Set` for type annotation
path/__init__.pyi:401:46: UP007 Use `X | Y` for type annotations
path/__init__.pyi:408:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:409:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:410:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:411:27: UP007 Use `X | Y` for type annotations
path/__init__.pyi:412:19: UP006 Use `tuple` instead of `Tuple` for type annotation
path/__init__.pyi:415:35: UP007 Use `X | Y` for type annotations
path/__init__.pyi:437:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:438:20: UP007 Use `X | Y` for type annotations
path/__init__.pyi:439:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:448:43: UP006 Use `type` instead of `Type` for type annotation
path/__init__.pyi:454:29: UP006 Use `type` instead of `Type` for type annotation
path/__init__.pyi:462:29: UP006 Use `type` instead of `Type` for type annotation
path/__init__.pyi:464:14: UP006 Use `type` instead of `Type` for type annotation
path/__init__.pyi:465:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:466:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:467:14: UP007 Use `X | Y` for type annotations
path/__init__.pyi:467:23: UP007 Use `X | Y` for type annotations
path/__init__.pyi:473:19: UP007 Use `X | Y` for type annotations
path/__init__.pyi:474:18: UP007 Use `X | Y` for type annotations
path/__init__.pyi:475:17: UP007 Use `X | Y` for type annotations
path/__init__.pyi:481:21: UP007 Use `X | Y` for type annotations
path/classes.pyi:4:40: UP007 Use `X | Y` for type annotations
path/classes.pyi:8:45: UP007 Use `X | Y` for type annotations
path/compat/py38.py:1:1: I001 [*] Import block is un-sorted or un-formatted
path/masks.py:1:1: I001 [*] Import block is un-sorted or un-formatted
path/matchers.py:1:1: I001 [*] Import block is un-sorted or un-formatted
test_path.py:16:1: I001 [*] Import block is un-sorted or un-formatted
test_path.py:368:9: B015 Pointless comparison. Did you mean to assign a value? Otherwise, prepend `assert` or remove it.
test_path.py:373:9: B015 Pointless comparison. Did you mean to assign a value? Otherwise, prepend `assert` or remove it.
test_path.py:566:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
test_path.py:1095:13: B007 Loop control variable `res` not used within loop body
Found 127 errors.
[*] 8 fixable with the `--fix` option (114 hidden fixes can be enabled with the `--unsafe-fixes` option).
jaraco.services
jaraco/services/__init__.py:12:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/services/__init__.py:58:9: B028 No explicit `stacklevel` keyword argument found
jaraco/services/__init__.py:183:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/services/__init__.py:266:17: B028 No explicit `stacklevel` keyword argument found
jaraco/services/paths.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/services/paths.py:37:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Found 6 errors.
[*] 2 fixable with the `--fix` option.
jaraco.xkcd
jaraco/xkcd.py:1:1: I001 [*] Import block is un-sorted or un-formatted
test_caching.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 2 errors.
[*] 2 fixable with the `--fix` option.
openpack
openpack/basepack.py:4:1: I001 [*] Import block is un-sorted or un-formatted
openpack/basepack.py:129:48: UP031 Use format specifiers instead of percent format
openpack/basepack.py:133:35: UP031 Use format specifiers instead of percent format
openpack/basepack.py:158:25: UP031 Use format specifiers instead of percent format
openpack/basepack.py:201:14: UP008 Use `super()` instead of `super(__class__, self)`
openpack/basepack.py:312:16: UP031 Use format specifiers instead of percent format
openpack/basepack.py:524:19: UP031 Use format specifiers instead of percent format
openpack/basepack.py:533:16: UP031 Use format specifiers instead of percent format
openpack/basepack.py:582:12: UP031 Use format specifiers instead of percent format
openpack/basepack.py:586:12: UP031 Use format specifiers instead of percent format
openpack/basepack.py:590:12: UP031 Use format specifiers instead of percent format
openpack/basepack.py:667:21: UP031 Use format specifiers instead of percent format
openpack/basepack.py:670:22: UP031 Use format specifiers instead of percent format
openpack/editor.py:1:1: I001 [*] Import block is un-sorted or un-formatted
openpack/editor.py:77:23: UP031 Use format specifiers instead of percent format
openpack/part-edit.py:1:1: I001 [*] Import block is un-sorted or un-formatted
openpack/util.py:9:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
openpack/zip-listdir.py:1:1: I001 [*] Import block is un-sorted or un-formatted
openpack/zippack.py:9:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_basepack.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_basepack.py:34:13: B010 [*] Do not call `setattr` with a constant attribute value. It is not any safer than normal property access.
tests/test_basepack.py:42:14: B017 `pytest.raises(Exception)` should be considered evil
tests/test_zippack.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 23 errors.
[*] 8 fixable with the `--fix` option (13 hidden fixes can be enabled with the `--unsafe-fixes` option).
jaraco.context
jaraco/context.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/context.py:41:9: B028 No explicit `stacklevel` keyword argument found
Found 2 errors.
[*] 1 fixable with the `--fix` option.
portend
portend.py:5:1: I001 [*] Import block is un-sorted or un-formatted
portend.py:40:15: UP004 [*] Class `Checker` inherits from `object`
portend.py:81:20: UP024 [*] Replace aliased errors with `OSError`
portend.py:126:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
portend.py:237:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
test_portend.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 6 errors.
[*] 4 fixable with the `--fix` option.
dropbox-index
dropbox_index/__init__.py:13:1: I001 [*] Import block is un-sorted or un-formatted
dropbox_index/__main__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 2 errors.
[*] 2 fixable with the `--fix` option.
jaraco.apt
jaraco/apt.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 1 error.
[*] 1 fixable with the `--fix` option.
keyring
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 1 error.
[*] 1 fixable with the `--fix` option.
svg.charts
svg/charts/bar.py:1:1: I001 [*] Import block is un-sorted or un-formatted
svg/charts/bar.py:75:14: UP008 Use `super()` instead of `super(__class__, self)`
svg/charts/bar.py:117:12: B009 [*] Do not call `getattr` with a constant attribute value. It is not any safer than normal property access.
svg/charts/bar.py:180:26: B007 Loop control variable `field` not used within loop body
svg/charts/bar.py:242:26: B007 Loop control variable `field` not used within loop body
svg/charts/graph.py:7:1: I001 [*] Import block is un-sorted or un-formatted
svg/charts/graph.py:17:1: I001 [*] Import block is un-sorted or un-formatted
svg/charts/graph.py:90:31: B006 Do not use mutable data structures for argument defaults
svg/charts/graph.py:290:21: UP031 Use format specifiers instead of percent format
svg/charts/graph.py:315:22: UP031 Use format specifiers instead of percent format
svg/charts/graph.py:347:26: UP031 Use format specifiers instead of percent format
svg/charts/graph.py:385:20: UP032 [*] Use f-string instead of `format` call
svg/charts/graph.py:486:13: B020 Loop control variable `count` overrides iterable it iterates
svg/charts/graph.py:487:20: UP032 [*] Use f-string instead of `format` call
svg/charts/graph.py:497:13: B020 Loop control variable `count` overrides iterable it iterates
svg/charts/graph.py:498:20: UP032 [*] Use f-string instead of `format` call
svg/charts/graph.py:564:21: UP032 [*] Use f-string instead of `format` call
svg/charts/graph.py:665:24: UP031 Use format specifiers instead of percent format
svg/charts/graph.py:729:45: B006 Do not use mutable data structures for argument defaults
svg/charts/graph.py:766:14: UP008 Use `super()` instead of `super(__class__, self)`
svg/charts/line.py:1:1: I001 [*] Import block is un-sorted or un-formatted
svg/charts/line.py:63:14: UP008 Use `super()` instead of `super(__class__, self)`
svg/charts/line.py:114:13: B007 Loop control variable `line_n` may not be used within loop body
svg/charts/line.py:136:33: UP031 Use format specifiers instead of percent format
svg/charts/line.py:141:51: UP031 Use format specifiers instead of percent format
svg/charts/line.py:149:26: UP031 Use format specifiers instead of percent format
svg/charts/line.py:150:30: UP031 Use format specifiers instead of percent format
svg/charts/line.py:160:39: UP031 Use format specifiers instead of percent format
svg/charts/pie.py:1:1: I001 [*] Import block is un-sorted or un-formatted
svg/charts/pie.py:143:37: UP034 [*] Avoid extraneous parentheses
svg/charts/pie.py:166:21: UP031 Use format specifiers instead of percent format
svg/charts/pie.py:232:29: UP031 Use format specifiers instead of percent format
svg/charts/pie.py:239:29: UP031 Use format specifiers instead of percent format
svg/charts/plot.py:3:1: I001 [*] Import block is un-sorted or un-formatted
svg/charts/plot.py:150:14: UP008 Use `super()` instead of `super(__class__, self)`
svg/charts/plot.py:168:13: B007 Loop control variable `i` not used within loop body
svg/charts/plot.py:183:14: UP008 Use `super()` instead of `super(__class__, self)`
svg/charts/plot.py:189:14: UP008 Use `super()` instead of `super(__class__, self)`
svg/charts/plot.py:305:26: UP031 Use format specifiers instead of percent format
svg/charts/plot.py:312:26: UP031 Use format specifiers instead of percent format
svg/charts/plot.py:336:19: UP031 Use format specifiers instead of percent format
svg/charts/plot.py:360:32: UP031 Use format specifiers instead of percent format
svg/charts/plot.py:386:30: UP031 Use format specifiers instead of percent format
svg/charts/plot.py:395:16: UP031 Use format specifiers instead of percent format
svg/charts/schedule.py:1:1: I001 [*] Import block is un-sorted or un-formatted
svg/charts/schedule.py:147:14: UP008 Use `super()` instead of `super(__class__, self)`
svg/charts/schedule.py:161:14: UP008 Use `super()` instead of `super(__class__, self)`
svg/charts/schedule.py:166:14: UP008 Use `super()` instead of `super(__class__, self)`
svg/charts/schedule.py:233:37: B007 Loop control variable `label` not used within loop body
svg/charts/schedule.py:312:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
svg/charts/time_series.py:1:1: I001 [*] Import block is un-sorted or un-formatted
svg/charts/time_series.py:140:14: UP008 Use `super()` instead of `super(__class__, self)`
svg/charts/time_series.py:143:14: UP008 Use `super()` instead of `super(__class__, self)`
tests/samples.py:6:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_plot.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_samples.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 56 errors.
[*] 17 fixable with the `--fix` option (35 hidden fixes can be enabled with the `--unsafe-fixes` option).
jaraco.clipboard
jaraco/clipboard/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 1 error.
[*] 1 fixable with the `--fix` option.
/pmxbot/chucknorris
chucknorris/pmxbot.py:1:1: I001 [*] Import block is un-sorted or un-formatted
chucknorris/pronoun.py:1:1: I001 [*] Import block is un-sorted or un-formatted
chucknorris/test_plugin.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 3 errors.
[*] 3 fixable with the `--fix` option.
backports.pdb
backports/pdb.py:70:1: I001 [*] Import block is un-sorted or un-formatted
backports/pdb.py:164:13: B018 Found useless expression. Either assign it to a variable or remove it.
backports/pdb.py:385:22: UP031 Use format specifiers instead of percent format
backports/pdb.py:413:34: UP031 Use format specifiers instead of percent format
backports/pdb.py:722:28: UP031 Use format specifiers instead of percent format
backports/pdb.py:914:28: UP031 Use format specifiers instead of percent format
backports/pdb.py:1143:28: UP031 Use format specifiers instead of percent format
backports/pdb.py:1267:30: UP031 Use format specifiers instead of percent format
backports/pdb.py:1269:30: UP031 Use format specifiers instead of percent format
backports/pdb.py:1471:26: UP031 Use format specifiers instead of percent format
backports/pdb.py:1490:34: UP031 Use format specifiers instead of percent format
backports/pdb.py:1495:28: UP031 Use format specifiers instead of percent format
backports/pdb.py:1499:30: UP031 Use format specifiers instead of percent format
backports/pdb.py:1560:30: UP031 Use format specifiers instead of percent format
backports/pdb.py:1563:26: UP031 Use format specifiers instead of percent format
Found 15 errors.
[*] 1 fixable with the `--fix` option (13 hidden fixes can be enabled with the `--unsafe-fixes` option).
pytest-home
pytest_home/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_fixtures.py:12:5: B015 Pointless comparison. Did you mean to assign a value? Otherwise, prepend `assert` or remove it.
Found 2 errors.
[*] 1 fixable with the `--fix` option.
jaraco.home
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/home/hdhomerun.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/home/hdhomerun.py:83:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/home/thermostat.py:7:1: I001 [*] Import block is un-sorted or un-formatted
Found 4 errors.
[*] 3 fixable with the `--fix` option.
jaraco.env
All checks passed!
cmdix
cmdix/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/__init__.py:52:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cmdix/command/base64.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/command/cal.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/command/cat.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/command/chmod.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/command/chown.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/command/chown.py:37:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cmdix/command/chroot.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/command/httpd.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/command/httpd.py:79:51: B006 Do not use mutable data structures for argument defaults
cmdix/command/id.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/command/kill.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/command/kill.py:59:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cmdix/command/logger.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/command/ls.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/command/more.py:9:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/command/sendmail.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/command/sh.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/command/sh.py:47:21: UP032 [*] Use f-string instead of `format` call
cmdix/command/shred.py:44:17: B007 Loop control variable `i` not used within loop body
cmdix/command/tail.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/command/tar.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/command/tar.py:83:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cmdix/command/tar.py:84:21: UP032 [*] Use f-string instead of `format` call
cmdix/command/uname.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/command/wc.py:74:9: B007 Loop control variable `filename` not used within loop body
cmdix/command/wget.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/compat/py39.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/compressor.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cmdix/exception.py:64:13: UP032 [*] Use f-string instead of `format` call
cmdix/exception.py:86:13: UP032 [*] Use f-string instead of `format` call
cmdix/lib.py:18:1: I001 [*] Import block is un-sorted or un-formatted
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_cat.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_env.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_ls.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_pycoreutils_lib.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_tar.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_uuidgen.py:7:13: B007 Loop control variable `iter` not used within loop body
Found 41 errors.
[*] 33 fixable with the `--fix` option (4 hidden fixes can be enabled with the `--unsafe-fixes` option).
pmxbot.webhooks
pmxbot/webhooks.py:5:1: I001 [*] Import block is un-sorted or un-formatted
pmxbot/webhooks.py:177:35: UP032 [*] Use f-string instead of `format` call
Found 2 errors.
[*] 2 fixable with the `--fix` option.
/omaha-data/omaha
airflow/load_omaha_dags.py:16:21: B007 Loop control variable `files` not used within loop body
datagen/sensorsdatagen.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 2 errors.
[*] 1 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
/pypa/setuptools
warning: Invalid `# noqa` directive on setuptools/tests/test_warnings.py:21: expected `:` followed by a comma-separated list of codes (e.g., `# noqa: F401, F841`).
_distutils_hack/__init__.py:2:1: I001 [*] Import block is un-sorted or un-formatted
_distutils_hack/__init__.py:11:5: B028 No explicit `stacklevel` keyword argument found
_distutils_hack/__init__.py:26:5: B028 No explicit `stacklevel` keyword argument found
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pkg_resources/__init__.py:22:4: UP036 Version block is outdated for minimum Python version
pkg_resources/__init__.py:25:1: I001 [*] Import block is un-sorted or un-formatted
pkg_resources/__init__.py:65:1: I001 [*] Import block is un-sorted or un-formatted
pkg_resources/__init__.py:183:20: UP031 Use format specifiers instead of percent format
pkg_resources/__init__.py:467:32: UP031 Use format specifiers instead of percent format
pkg_resources/__init__.py:1004:42: B008 Do not perform function call `get_supported_platform` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
pkg_resources/__init__.py:1132:29: UP031 Use format specifiers instead of percent format
pkg_resources/__init__.py:1281:13: B028 No explicit `stacklevel` keyword argument found
pkg_resources/__init__.py:1494:27: UP032 [*] Use f-string instead of `format` call
pkg_resources/__init__.py:1799:30: UP031 Use format specifiers instead of percent format
pkg_resources/__init__.py:1807:30: UP031 Use format specifiers instead of percent format
pkg_resources/__init__.py:1983:13: B028 No explicit `stacklevel` keyword argument found
pkg_resources/__init__.py:2459:13: UP031 Use format specifiers instead of percent format
pkg_resources/__init__.py:2725:13: B028 No explicit `stacklevel` keyword argument found
pkg_resources/__init__.py:2737:23: UP032 [*] Use f-string instead of `format` call
pkg_resources/__init__.py:2794:21: UP031 Use format specifiers instead of percent format
pkg_resources/__init__.py:2836:20: UP031 Use format specifiers instead of percent format
pkg_resources/__init__.py:2848:20: UP031 Use format specifiers instead of percent format
pkg_resources/__init__.py:2858:16: UP031 Use format specifiers instead of percent format
pkg_resources/__init__.py:2881:20: UP031 Use format specifiers instead of percent format
pkg_resources/__init__.py:2883:20: UP031 Use format specifiers instead of percent format
pkg_resources/__init__.py:2891:31: UP031 Use format specifiers instead of percent format
pkg_resources/__init__.py:3001:17: UP031 Use format specifiers instead of percent format
pkg_resources/__init__.py:3007:13: B018 Found useless expression. Either assign it to a variable or remove it.
pkg_resources/__init__.py:3116:41: B026 Star-arg unpacking after a keyword argument is strongly discouraged
pkg_resources/__init__.py:3271:19: B008 Do not perform function call `globals` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
pkg_resources/tests/test_find_distributions.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pkg_resources/tests/test_pkg_resources.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pkg_resources/tests/test_pkg_resources.py:221:32: UP032 [*] Use f-string instead of `format` call
pkg_resources/tests/test_pkg_resources.py:222:44: UP032 [*] Use f-string instead of `format` call
pkg_resources/tests/test_pkg_resources.py:259:16: UP032 [*] Use f-string instead of `format` call
pkg_resources/tests/test_pkg_resources.py:262:21: UP032 [*] Use f-string instead of `format` call
pkg_resources/tests/test_pkg_resources.py:269:9: B018 Found useless expression. Either assign it to a variable or remove it.
pkg_resources/tests/test_pkg_resources.py:297:9: B018 Found useless expression. Either assign it to a variable or remove it.
pkg_resources/tests/test_resources.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pkg_resources/tests/test_resources.py:197:13: B007 Loop control variable `i` not used within loop body
pkg_resources/tests/test_resources.py:865:1: I001 [*] Import block is un-sorted or un-formatted
pkg_resources/tests/test_working_set.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/__init__.py:3:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/__init__.py:189:17: UP031 Use format specifiers instead of percent format
setuptools/__init__.py:217:21: UP031 Use format specifiers instead of percent format
setuptools/_core_metadata.py:7:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/_core_metadata.py:150:20: UP031 Use format specifiers instead of percent format
setuptools/_core_metadata.py:179:36: UP031 Use format specifiers instead of percent format
setuptools/_entry_points.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/_entry_points.py:19:9: B018 Found useless expression. Either assign it to a variable or remove it.
setuptools/_imp.py:6:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/archive_util.py:3:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/archive_util.py:101:34: UP031 Use format specifiers instead of percent format
setuptools/archive_util.py:198:13: UP031 Use format specifiers instead of percent format
setuptools/build_meta.py:29:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/_requirestxt.py:10:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/alias.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/bdist_egg.py:5:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/bdist_egg.py:203:29: UP015 [*] Unnecessary open mode parameters, use ""w""
setuptools/command/bdist_egg.py:243:19: B007 Loop control variable `dirs` not used within loop body
setuptools/command/bdist_egg.py:257:30: UP031 Use format specifiers instead of percent format
setuptools/command/bdist_egg.py:335:15: B007 Loop control variable `dirs` not used within loop body
setuptools/command/bdist_egg.py:353:17: UP015 [*] Unnecessary open mode parameters, use ""w""
setuptools/command/bdist_egg.py:455:22: B007 Loop control variable `dirs` not used within loop body
setuptools/command/bdist_egg.py:459:22: B007 Loop control variable `dirs` not used within loop body
setuptools/command/build.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/build_clib.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/build_ext.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/build_ext.py:19:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/build_py.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/build_py.py:156:13: B007 Loop control variable `package` not used within loop body
setuptools/command/build_py.py:255:17: UP031 Use format specifiers instead of percent format
setuptools/command/develop.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/dist_info.py:96:18: UP032 [*] Use f-string instead of `format` call
setuptools/command/easy_install.py:13:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/easy_install.py:642:23: B007 Loop control variable `dirs` not used within loop body
setuptools/command/easy_install.py:651:17: UP031 Use format specifiers instead of percent format
setuptools/command/easy_install.py:661:17: UP031 Use format specifiers instead of percent format
setuptools/command/easy_install.py:1024:29: UP031 Use format specifiers instead of percent format
setuptools/command/easy_install.py:1114:17: UP031 Use format specifiers instead of percent format
setuptools/command/easy_install.py:1191:34: UP031 Use format specifiers instead of percent format
setuptools/command/easy_install.py:1282:14: UP015 [*] Unnecessary open mode parameters, use ""w""
setuptools/command/easy_install.py:1598:43: UP031 Use format specifiers instead of percent format
setuptools/command/easy_install.py:1625:13: UP015 [*] Unnecessary open mode parameters
setuptools/command/easy_install.py:1697:18: UP015 [*] Unnecessary open mode parameters, use ""w""
setuptools/command/easy_install.py:1794:28: UP031 Use format specifiers instead of percent format
setuptools/command/easy_install.py:2183:23: B007 Loop control variable `ep` may not be used within loop body
setuptools/command/editable_wheel.py:13:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/egg_info.py:5:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/egg_info.py:50:18: UP031 Use format specifiers instead of percent format
setuptools/command/egg_info.py:62:24: UP031 Use format specifiers instead of percent format
setuptools/command/egg_info.py:104:28: UP031 Use format specifiers instead of percent format
setuptools/command/egg_info.py:235:17: UP031 Use format specifiers instead of percent format
setuptools/command/install.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/install_egg_info.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/install_egg_info.py:38:41: UP031 Use format specifiers instead of percent format
setuptools/command/install_lib.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/install_lib.py:103:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/install_scripts.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/install_scripts.py:29:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/register.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/rotate.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/rotate.py:57:17: B007 Loop control variable `t` not used within loop body
setuptools/command/sdist.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/sdist.py:49:21: UP030 Use implicit references for positional format fields
setuptools/command/sdist.py:49:21: UP032 [*] Use f-string instead of `format` call
setuptools/command/setopt.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/test.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/test.py:152:21: UP031 Use format specifiers instead of percent format
setuptools/command/upload_docs.py:7:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/command/upload_docs.py:82:23: B007 Loop control variable `dirs` not used within loop body
setuptools/command/upload_docs.py:209:19: UP031 Use format specifiers instead of percent format
setuptools/command/upload_docs.py:218:19: UP031 Use format specifiers instead of percent format
setuptools/compat/py310.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/compat/py311.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/config/_apply_pyprojecttoml.py:11:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/config/_apply_pyprojecttoml.py:37:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/config/_apply_pyprojecttoml.py:231:14: B007 Loop control variable `value` not used within loop body
setuptools/config/_apply_pyprojecttoml.py:267:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/config/_validate_pyproject/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/config/_validate_pyproject/fastjsonschema_exceptions.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/config/expand.py:21:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/config/expand.py:304:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/config/setupcfg.py:12:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/config/setupcfg.py:295:16: B030 `except` handlers should only be exception classes or tuples of exception classes
setuptools/config/setupcfg.py:367:21: UP030 Use implicit references for positional format fields
setuptools/config/setupcfg.py:367:21: UP032 [*] Use f-string instead of `format` call
setuptools/depends.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/depends.py:35:20: UP031 Use format specifiers instead of percent format
setuptools/discovery.py:40:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/discovery.py:150:25: B007 Loop control variable `files` not used within loop body
setuptools/dist.py:4:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/dist.py:51:13: UP031 Use format specifiers instead of percent format
setuptools/dist.py:65:13: UP031 Use format specifiers instead of percent format
setuptools/dist.py:184:13: UP032 [*] Use f-string instead of `format` call
setuptools/dist.py:190:17: UP032 [*] Use f-string instead of `format` call
setuptools/dist.py:192:34: UP032 [*] Use f-string instead of `format` call
setuptools/dist.py:490:19: B007 Loop control variable `src` not used within loop body
setuptools/dist.py:581:31: UP031 Use format specifiers instead of percent format
setuptools/dist.py:601:25: UP031 Use format specifiers instead of percent format
setuptools/dist.py:791:17: UP031 Use format specifiers instead of percent format
setuptools/dist.py:808:39: UP031 Use format specifiers instead of percent format
setuptools/dist.py:849:17: UP031 Use format specifiers instead of percent format
setuptools/errors.py:6:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/extension.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/extension.py:18:9: B018 Found useless attribute access. Either assign it to a variable or remove it.
setuptools/glob.py:9:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/installer.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/launch.py:9:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/launch.py:18:5: B018 Found useless expression. Either assign it to a variable or remove it.
setuptools/logging.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/modified.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/monkey.py:5:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/msvc.py:14:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/msvc.py:191:13: UP032 [*] Use f-string instead of `format` call
setuptools/msvc.py:196:13: UP032 [*] Use f-string instead of `format` call
setuptools/msvc.py:687:22: UP015 [*] Unnecessary open mode parameters
setuptools/msvc.py:1297:31: UP031 Use format specifiers instead of percent format
setuptools/msvc.py:1405:30: UP031 Use format specifiers instead of percent format
setuptools/msvc.py:1527:16: UP031 Use format specifiers instead of percent format
setuptools/msvc.py:1567:27: UP031 Use format specifiers instead of percent format
setuptools/namespaces.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/namespaces.py:28:14: UP015 [*] Unnecessary open mode parameters, use ""w""
setuptools/package_index.py:3:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/package_index.py:73:13: UP031 Use format specifiers instead of percent format
setuptools/package_index.py:473:32: UP031 Use format specifiers instead of percent format
setuptools/package_index.py:479:23: UP031 Use format specifiers instead of percent format
setuptools/package_index.py:529:17: UP031 Use format specifiers instead of percent format
setuptools/package_index.py:719:21: UP031 Use format specifiers instead of percent format
setuptools/package_index.py:731:17: UP031 Use format specifiers instead of percent format
setuptools/package_index.py:752:21: UP031 Use format specifiers instead of percent format
setuptools/package_index.py:793:38: UP031 Use format specifiers instead of percent format
setuptools/package_index.py:801:21: UP031 Use format specifiers instead of percent format
setuptools/package_index.py:808:21: UP031 Use format specifiers instead of percent format
setuptools/package_index.py:815:38: UP031 Use format specifiers instead of percent format
setuptools/package_index.py:886:19: UP031 Use format specifiers instead of percent format
setuptools/package_index.py:891:17: UP031 Use format specifiers instead of percent format
setuptools/package_index.py:905:19: UP031 Use format specifiers instead of percent format
setuptools/package_index.py:910:17: UP031 Use format specifiers instead of percent format
setuptools/package_index.py:1001:16: UP031 Use format specifiers instead of percent format
setuptools/package_index.py:1117:22: UP015 [*] Unnecessary open mode parameters
setuptools/package_index.py:1122:26: UP032 [*] Use f-string instead of `format` call
setuptools/sandbox.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/config/downloads/preload.py:11:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/config/test_apply_pyprojecttoml.py:7:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/config/test_expand.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/config/test_pyprojecttoml.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/config/test_setupcfg.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/config/test_setupcfg.py:74:9: B018 Found useless expression. Either assign it to a variable or remove it.
setuptools/tests/config/test_setupcfg.py:304:17: B018 Found useless expression. Either assign it to a variable or remove it.
setuptools/tests/config/test_setupcfg.py:899:14: B017 `pytest.raises(Exception)` should be considered evil
setuptools/tests/contexts.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/environment.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/fixtures.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/integration/helpers.py:8:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/server.py:3:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_archive_util.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_bdist_deprecations.py:3:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_build.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_build_clib.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_build_ext.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_build_ext.py:292:23: UP031 Use format specifiers instead of percent format
setuptools/tests/test_build_meta.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_build_meta.py:299:14: UP015 [*] Unnecessary open mode parameters, use ""w""
setuptools/tests/test_build_meta.py:571:14: UP015 [*] Unnecessary open mode parameters
setuptools/tests/test_build_meta.py:573:14: UP015 [*] Unnecessary open mode parameters, use ""w""
setuptools/tests/test_build_py.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_config_discovery.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_config_discovery.py:115:13: B007 Loop control variable `file` not used within loop body
setuptools/tests/test_core_metadata.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_core_metadata.py:196:9: B007 Loop control variable `attr` not used within loop body
setuptools/tests/test_core_metadata.py:284:10: UP015 [*] Unnecessary open mode parameters
setuptools/tests/test_core_metadata.py:304:20: UP031 Use format specifiers instead of percent format
setuptools/tests/test_develop.py:3:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_dist.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_dist.py:29:22: UP031 Use format specifiers instead of percent format
setuptools/tests/test_dist_info.py:3:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_distutils_adoption.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_easy_install.py:3:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_easy_install.py:738:25: UP032 [*] Use f-string instead of `format` call
setuptools/tests/test_easy_install.py:1101:21: UP031 Use format specifiers instead of percent format
setuptools/tests/test_easy_install.py:1129:9: UP031 Use format specifiers instead of percent format
setuptools/tests/test_easy_install.py:1213:28: UP031 Use format specifiers instead of percent format
setuptools/tests/test_easy_install.py:1234:28: UP031 Use format specifiers instead of percent format
setuptools/tests/test_easy_install.py:1262:38: UP031 Use format specifiers instead of percent format
setuptools/tests/test_editable_install.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_egg_info.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_egg_info.py:43:21: UP031 Use format specifiers instead of percent format
setuptools/tests/test_egg_info.py:97:14: UP015 [*] Unnecessary open mode parameters
setuptools/tests/test_egg_info.py:142:14: UP015 [*] Unnecessary open mode parameters
setuptools/tests/test_egg_info.py:271:23: UP032 [*] Use f-string instead of `format` call
setuptools/tests/test_egg_info.py:275:33: UP032 [*] Use f-string instead of `format` call
setuptools/tests/test_find_packages.py:3:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_install_scripts.py:3:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_install_scripts.py:44:18: UP015 [*] Unnecessary open mode parameters
setuptools/tests/test_install_scripts.py:58:18: UP015 [*] Unnecessary open mode parameters
setuptools/tests/test_install_scripts.py:72:18: UP015 [*] Unnecessary open mode parameters
setuptools/tests/test_install_scripts.py:86:18: UP015 [*] Unnecessary open mode parameters
setuptools/tests/test_integration.py:6:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_logging.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_logging.py:27:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_logging.py:63:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_manifest.py:3:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_manifest.py:492:24: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
setuptools/tests/test_manifest.py:494:24: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
setuptools/tests/test_msvc14.py:5:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_namespaces.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_packageindex.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_register.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_sandbox.py:79:24: UP031 Use format specifiers instead of percent format
setuptools/tests/test_sdist.py:3:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_setuptools.py:3:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_upload.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_virtualenv.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_virtualenv.py:120:33: UP031 Use format specifiers instead of percent format
setuptools/tests/test_virtualenv.py:136:17: UP032 [*] Use f-string instead of `format` call
setuptools/tests/test_warnings.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_wheel.py:3:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_wheel.py:116:18: B007 Loop control variable `dirnames` not used within loop body
setuptools/tests/test_wheel.py:176:16: UP031 Use format specifiers instead of percent format
setuptools/tests/test_wheel.py:596:18: UP030 Use implicit references for positional format fields
setuptools/tests/test_wheel.py:596:18: UP032 [*] Use f-string instead of `format` call
setuptools/tests/test_windows_wrappers.py:15:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/tests/test_windows_wrappers.py:60:16: UP032 [*] Use f-string instead of `format` call
setuptools/tests/test_windows_wrappers.py:62:16: UP032 [*] Use f-string instead of `format` call
setuptools/unicode_utils.py:1:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/wheel.py:3:1: I001 [*] Import block is un-sorted or un-formatted
setuptools/wheel.py:57:18: B007 Loop control variable `dirnames` not used within loop body
setuptools/wheel.py:123:25: UP031 Use format specifiers instead of percent format
tools/build_launchers.py:20:1: I001 [*] Import block is un-sorted or un-formatted
tools/finalize.py:8:1: I001 [*] Import block is un-sorted or un-formatted
tools/generate_validation_code.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tools/ppc64le-patch.py:9:1: I001 [*] Import block is un-sorted or un-formatted
tools/vendored.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 276 errors.
[*] 157 fixable with the `--fix` option (99 hidden fixes can be enabled with the `--unsafe-fixes` option).
calendra
calendra/africa/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/africa/benin.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/africa/ivory_coast.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/africa/kenya.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/africa/nigeria.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/africa/south_africa.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/africa/tunisia.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/america/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/america/argentina.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/america/argentina.py:47:13: B018 Found useless expression. Either assign it to a variable or remove it.
calendra/america/argentina.py:108:13: B018 Found useless expression. Either assign it to a variable or remove it.
calendra/america/brazil.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/america/canada.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/america/chile.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/america/colombia.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/america/mexico.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/asia/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/asia/china.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/asia/china.py:128:17: B007 Loop control variable `working_day_name` not used within loop body
calendra/asia/china.py:134:9: B028 No explicit `stacklevel` keyword argument found
calendra/asia/hong_kong.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/asia/israel.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/asia/japan.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/asia/kazakhstan.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/asia/malaysia.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/asia/philippines.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/asia/singapore.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/asia/taiwan.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/astronomy.py:2:1: I001 [*] Import block is un-sorted or un-formatted
calendra/core.py:4:1: I001 [*] Import block is un-sorted or un-formatted
calendra/core.py:421:9: B028 No explicit `stacklevel` keyword argument found
calendra/core.py:485:13: B028 No explicit `stacklevel` keyword argument found
calendra/core.py:790:12: UP036 Version block is outdated for minimum Python version
calendra/core.py:952:37: B006 Do not use mutable data structures for argument defaults
calendra/europe/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/belarus.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/bulgaria.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/cayman_islands.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/cyprus.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/denmark.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/finland.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/germany.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/iceland.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/ireland.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/latvia.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/lithuania.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/luxembourg.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/netherlands.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/portugal.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/romania.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/russia.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/scotland/__init__.py:25:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/scotland/__init__.py:69:9: B028 No explicit `stacklevel` keyword argument found
calendra/europe/scotland/mixins/__init__.py:7:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/scotland/mixins/fair_holiday.py:4:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/slovenia.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/sweden.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/switzerland.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/turkey.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/ukraine.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/europe/united_kingdom.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/holiday.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/holiday.py:104:5: B019 Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
calendra/holiday.py:104:25: UP011 [*] Unnecessary parentheses to `functools.lru_cache`
calendra/oceania/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/oceania/australia.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/oceania/marshall_islands.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/oceania/new_zealand.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/precomputed_astronomy.py:29:5: B018 Found useless expression. Either assign it to a variable or remove it.
calendra/precomputed_astronomy.py:43:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
calendra/precomputed_astronomy.py:47:1: I001 [*] Import block is un-sorted or un-formatted
calendra/precomputed_astronomy.py:96:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
calendra/precomputed_astronomy.py:113:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
calendra/registry.py:36:31: B009 [*] Do not call `getattr` with a constant attribute value. It is not any safer than normal property access.
calendra/skyfield_astronomy.py:4:1: I001 [*] Import block is un-sorted or un-formatted
calendra/skyfield_astronomy.py:10:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/__init__.py:40:20: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
calendra/tests/test_africa.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_america.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_asia.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_asia.py:869:13: B007 Loop control variable `i` not used within loop body
calendra/tests/test_asia.py:873:13: B007 Loop control variable `i` not used within loop body
calendra/tests/test_astronomy.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_brazil.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_brazil.py:1010:13: B007 Loop control variable `key` not used within loop body
calendra/tests/test_canada.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_core.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_core.py:174:23: B007 Loop control variable `label` not used within loop body
calendra/tests/test_europe.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_germany.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_ical_export.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_mozambique.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_oceania.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_registry_america.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_registry_asia.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_registry_europe.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_registry_oceania.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_registry_usa.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_scotland.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_skyfield_astronomy.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_spain.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_switzerland.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_turkey.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/tests/test_usa.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/alabama.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/alaska.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/american_samoa.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/arizona.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/arkansas.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/california.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/colorado.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/connecticut.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/core.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/delaware.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/district_columbia.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/florida.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/florida.py:93:9: B028 No explicit `stacklevel` keyword argument found
calendra/usa/georgia.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/georgia.py:22:9: B028 No explicit `stacklevel` keyword argument found
calendra/usa/guam.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/hawaii.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/idaho.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/illinois.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/indiana.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/indiana.py:26:9: B028 No explicit `stacklevel` keyword argument found
calendra/usa/kansas.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/kentucky.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/louisiana.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/maine.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/maryland.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/massachusetts.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/michigan.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/mississippi.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/missouri.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/montana.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/montana.py:13:9: B028 No explicit `stacklevel` keyword argument found
calendra/usa/north_carolina.py:1:1: I001 [*] Import block is un-sorted or un-formatted
calendra/usa/virginia.py:15:1: I001 [*] Import block is un-sorted or un-formatted
Found 140 errors.
[*] 117 fixable with the `--fix` option (8 hidden fixes can be enabled with the `--unsafe-fixes` option).
/cherrypy/cherrypy
cherrypy/__init__.py:66:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/__init__.py:132:28: UP004 [*] Class `_HandleSignalsPlugin` inherits from `object`
cherrypy/__init__.py:221:25: UP004 [*] Class `_ThreadLocalProxy` inherits from `object`
cherrypy/__main__.py:2:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/_cpchecker.py:2:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/_cpchecker.py:9:15: UP004 [*] Class `Checker` inherits from `object`
cherrypy/_cpchecker.py:39:39: B004 [*] Using `hasattr(x, "__call__")` to test if x is callable is unreliable. Use `callable(x)` for consistent results.
cherrypy/_cpchecker.py:64:21: B028 No explicit `stacklevel` keyword argument found
cherrypy/_cpchecker.py:65:25: UP031 Use format specifiers instead of percent format
cherrypy/_cpchecker.py:81:44: UP031 Use format specifiers instead of percent format
cherrypy/_cpchecker.py:90:17: B028 No explicit `stacklevel` keyword argument found
cherrypy/_cpchecker.py:105:17: B028 No explicit `stacklevel` keyword argument found
cherrypy/_cpchecker.py:117:21: B028 No explicit `stacklevel` keyword argument found
cherrypy/_cpchecker.py:118:25: UP031 Use format specifiers instead of percent format
cherrypy/_cpchecker.py:127:13: B007 Loop control variable `sn` not used within loop body
cherrypy/_cpchecker.py:152:41: UP031 Use format specifiers instead of percent format
cherrypy/_cpchecker.py:163:44: UP031 Use format specifiers instead of percent format
cherrypy/_cpchecker.py:173:25: B028 No explicit `stacklevel` keyword argument found
cherrypy/_cpchecker.py:173:39: UP031 Use format specifiers instead of percent format
cherrypy/_cpchecker.py:199:25: B028 No explicit `stacklevel` keyword argument found
cherrypy/_cpchecker.py:199:39: UP031 Use format specifiers instead of percent format
cherrypy/_cpchecker.py:203:25: B028 No explicit `stacklevel` keyword argument found
cherrypy/_cpchecker.py:203:39: UP031 Use format specifiers instead of percent format
cherrypy/_cpchecker.py:208:21: B028 No explicit `stacklevel` keyword argument found
cherrypy/_cpchecker.py:208:35: UP031 Use format specifiers instead of percent format
cherrypy/_cpchecker.py:211:21: B028 No explicit `stacklevel` keyword argument found
cherrypy/_cpchecker.py:211:35: UP031 Use format specifiers instead of percent format
cherrypy/_cpchecker.py:217:13: B007 Loop control variable `sn` not used within loop body
cherrypy/_cpchecker.py:244:37: UP031 Use format specifiers instead of percent format
cherrypy/_cpchecker.py:249:37: UP031 Use format specifiers instead of percent format
cherrypy/_cpchecker.py:253:29: B028 No explicit `stacklevel` keyword argument found
cherrypy/_cpchecker.py:257:37: UP031 Use format specifiers instead of percent format
cherrypy/_cpchecker.py:260:33: B028 No explicit `stacklevel` keyword argument found
cherrypy/_cpchecker.py:264:13: B007 Loop control variable `sn` not used within loop body
cherrypy/_cpchecker.py:303:25: B028 No explicit `stacklevel` keyword argument found
cherrypy/_cpchecker.py:309:13: B007 Loop control variable `sn` not used within loop body
cherrypy/_cpchecker.py:322:17: B028 No explicit `stacklevel` keyword argument found
cherrypy/_cpconfig.py:156:14: UP008 Use `super()` instead of `super(__class__, self)`
cherrypy/_cpconfig.py:166:14: UP008 Use `super()` instead of `super(__class__, self)`
cherrypy/_cpconfig.py:177:13: UP004 [*] Class `_Vars` inherits from `object`
cherrypy/_cpconfig.py:288:19: UP031 Use format specifiers instead of percent format
cherrypy/_cpconfig.py:292:29: UP031 Use format specifiers instead of percent format
cherrypy/_cpdispatch.py:13:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/_cpdispatch.py:24:19: UP004 [*] Class `PageHandler` inherits from `object`
cherrypy/_cpdispatch.py:60:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/_cpdispatch.py:62:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/_cpdispatch.py:90:45: B004 Using `hasattr(x, "__call__")` to test if x is callable is unreliable. Use `callable(x)` for consistent results.
cherrypy/_cpdispatch.py:100:13: B004 Using `hasattr(x, "__call__")` to test if x is callable is unreliable. Use `callable(x)` for consistent results.
cherrypy/_cpdispatch.py:112:12: B007 Loop control variable `value` not used within loop body
cherrypy/_cpdispatch.py:127:12: B007 Loop control variable `val` not used within loop body
cherrypy/_cpdispatch.py:236:4: UP036 Version block is outdated for minimum Python version
cherrypy/_cpdispatch.py:253:18: UP004 [*] Class `Dispatcher` inherits from `object`
cherrypy/_cpdispatch.py:340:33: B004 [*] Using `hasattr(x, "__call__")` to test if x is callable is unreliable. Use `callable(x)` for consistent results.
cherrypy/_cpdispatch.py:360:21: UP030 Use implicit references for positional format fields
cherrypy/_cpdispatch.py:360:21: UP032 [*] Use f-string instead of `format` call
cherrypy/_cpdispatch.py:397:17: B007 Loop control variable `name` not used within loop body
cherrypy/_cpdispatch.py:397:23: B007 Loop control variable `obj` not used within loop body
cherrypy/_cpdispatch.py:491:24: UP004 [*] Class `RoutesDispatcher` inherits from `object`
cherrypy/_cpdispatch.py:604:38: B008 Do not perform function call `Dispatcher` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
cherrypy/_cpdispatch.py:613:33: B008 Do not perform function call `Dispatcher` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
cherrypy/_cperror.py:121:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/_cperror.py:373:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/_cperror.py:424:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/_cperror.py:484:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/_cperror.py:489:28: UP031 Use format specifiers instead of percent format
cherrypy/_cperror.py:511:16: B004 [*] Using `hasattr(x, "__call__")` to test if x is callable is unreliable. Use `callable(x)` for consistent results.
cherrypy/_cperror.py:533:22: UP020 [*] Use builtin `open`
cherrypy/_cplogging.py:111:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/_cplogging.py:138:18: UP004 [*] Class `LogManager` inherits from `object`
cherrypy/_cplogging.py:177:17: UP031 Use format specifiers instead of percent format
cherrypy/_cplogging.py:179:17: UP031 Use format specifiers instead of percent format
cherrypy/_cplogging.py:452:26: UP004 [*] Class `LazyRfc3339UtcTime` inherits from `object`
cherrypy/_cpmodpy.py:58:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/_cpmodpy.py:179:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/_cpmodpy.py:187:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/_cpmodpy.py:224:33: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/_cpmodpy.py:290:15: UP031 Use format specifiers instead of percent format
cherrypy/_cpmodpy.py:300:19: UP024 [*] Replace aliased errors with `OSError`
cherrypy/_cpmodpy.py:307:23: UP004 [*] Class `ModPythonServer` inherits from `object`
cherrypy/_cpmodpy.py:333:25: UP031 Use format specifiers instead of percent format
cherrypy/_cpnative_server.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/_cpnative_server.py:73:37: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/_cpreqbody.py:199:26: UP031 Use format specifiers instead of percent format
cherrypy/_cpreqbody.py:282:14: UP004 [*] Class `Entity` inherits from `object`
cherrypy/_cpreqbody.py:826:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/_cpreqbody.py:905:29: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/_cpreqbody.py:918:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/_cpreqbody.py:985:14: UP008 Use `super()` instead of `super(__class__, self)`
cherrypy/_cprequest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/_cprequest.py:18:12: UP004 [*] Class `Hook` inherits from `object`
cherrypy/_cprequest.py:70:17: UP031 Use format specifiers instead of percent format
cherrypy/_cprequest.py:73:31: UP031 Use format specifiers instead of percent format
cherrypy/_cprequest.py:137:16: UP031 Use format specifiers instead of percent format
cherrypy/_cprequest.py:192:15: UP004 [*] Class `Request` inherits from `object`
cherrypy/_cprequest.py:605:33: UP031 Use format specifiers instead of percent format
cherrypy/_cprequest.py:734:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/_cprequest.py:763:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/_cprequest.py:778:21: UP031 Use format specifiers instead of percent format
cherrypy/_cprequest.py:811:20: UP004 [*] Class `ResponseBody` inherits from `object`
cherrypy/_cprequest.py:836:16: UP004 [*] Class `Response` inherits from `object`
cherrypy/_cprequest.py:911:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/_cprequest.py:915:23: UP031 Use format specifiers instead of percent format
cherrypy/_cprequest.py:953:17: UP004 [*] Class `LazyUUID4` inherits from `object`
cherrypy/_cprequest.py:965:13: B018 Found useless expression. Either assign it to a variable or remove it.
cherrypy/_cpserver.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/_cpserver.py:191:14: UP008 Use `super()` instead of `super(__class__, self)`
cherrypy/_cpserver.py:222:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/_cpserver.py:253:16: UP031 Use format specifiers instead of percent format
cherrypy/_cptools.py:25:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/_cptools.py:50:12: UP004 [*] Class `Tool` inherits from `object`
cherrypy/_cptools.py:81:16: B004 [*] Using `hasattr(x, "__call__")` to test if x is callable is unreliable. Use `callable(x)` for consistent results.
cherrypy/_cptools.py:324:24: UP004 [*] Class `XMLRPCController` inherits from `object`
cherrypy/_cptools.py:413:15: UP004 [*] Class `Toolbox` inherits from `object`
cherrypy/_cptree.py:10:19: UP004 [*] Class `Application` inherits from `object`
cherrypy/_cptree.py:71:16: UP031 Use format specifiers instead of percent format
cherrypy/_cptree.py:183:12: UP004 [*] Class `Tree` inherits from `object`
cherrypy/_cpwsgi.py:10:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/_cpwsgi.py:36:19: UP004 [*] Class `VirtualHost` inherits from `object`
cherrypy/_cpwsgi.py:94:26: UP004 [*] Class `InternalRedirector` inherits from `object`
cherrypy/_cpwsgi.py:130:25: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/_cpwsgi.py:141:24: UP004 [*] Class `ExceptionTrapper` inherits from `object`
cherrypy/_cpwsgi.py:157:24: UP004 [*] Class `_TrappedResponse` inherits from `object`
cherrypy/_cpwsgi.py:229:19: UP004 [*] Class `AppResponse` inherits from `object`
cherrypy/_cpwsgi.py:385:17: UP004 [*] Class `CPWSGIApp` inherits from `object`
cherrypy/_cpwsgi_server.py:6:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/_cpwsgi_server.py:30:14: UP008 Use `super()` instead of `super(__class__, self)`
cherrypy/_cpwsgi_server.py:68:14: UP008 Use `super()` instead of `super(__class__, self)`
cherrypy/_cpwsgi_server.py:86:12: UP036 Version block is outdated for minimum Python version
cherrypy/_helper.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/_helper.py:156:18: B004 [*] Using `hasattr(x, "__call__")` to test if x is callable is unreliable. Use `callable(x)` for consistent results.
cherrypy/_helper.py:320:32: UP004 [*] Class `_ClassPropertyDescriptor` inherits from `object`
cherrypy/daemon.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/lib/__init__.py:47:22: UP004 [*] Class `file_generator` inherits from `object`
cherrypy/lib/auth_basic.py:2:1: UP009 [*] UTF-8 encoding declaration is unnecessary
cherrypy/lib/auth_basic.py:23:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/lib/auth_basic.py:107:9: UP031 Use format specifiers instead of percent format
cherrypy/lib/auth_digest.py:2:1: UP009 [*] UTF-8 encoding declaration is unnecessary
cherrypy/lib/auth_digest.py:23:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/lib/auth_digest.py:68:28: UP031 Use format specifiers instead of percent format
cherrypy/lib/auth_digest.py:104:14: UP015 [*] Unnecessary open mode parameters
cherrypy/lib/auth_digest.py:132:17: UP031 Use format specifiers instead of percent format
cherrypy/lib/auth_digest.py:133:13: UP031 Use format specifiers instead of percent format
cherrypy/lib/auth_digest.py:154:31: UP004 [*] Class `HttpDigestAuthorization` inherits from `object`
cherrypy/lib/auth_digest.py:291:18: UP031 Use format specifiers instead of percent format
cherrypy/lib/auth_digest.py:293:18: UP031 Use format specifiers instead of percent format
cherrypy/lib/auth_digest.py:317:19: UP031 Use format specifiers instead of percent format
cherrypy/lib/auth_digest.py:320:19: UP031 Use format specifiers instead of percent format
cherrypy/lib/auth_digest.py:334:21: UP031 Use format specifiers instead of percent format
cherrypy/lib/auth_digest.py:336:20: UP031 Use format specifiers instead of percent format
cherrypy/lib/caching.py:44:13: UP004 [*] Class `Cache` inherits from `object`
cherrypy/lib/caching.py:303:26: UP031 Use format specifiers instead of percent format
cherrypy/lib/covercp.py:23:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/lib/covercp.py:48:5: B028 No explicit `stacklevel` keyword argument found
cherrypy/lib/covercp.py:213:17: UP031 Use format specifiers instead of percent format
cherrypy/lib/covercp.py:218:9: UP028 Replace `yield` over `for` loop with `yield from`
cherrypy/lib/covercp.py:286:18: UP004 [*] Class `CoverStats` inherits from `object`
cherrypy/lib/covercp.py:317:20: UP031 Use format specifiers instead of percent format
cherrypy/lib/covercp.py:328:13: UP028 Replace `yield` over `for` loop with `yield from`
cherrypy/lib/covercp.py:337:14: UP015 [*] Unnecessary open mode parameters
cherrypy/lib/covercp.py:368:9: UP028 Replace `yield` over `for` loop with `yield from`
cherrypy/lib/cpstats.py:212:14: B004 [*] Using `hasattr(x, "__call__")` to test if x is callable is unreliable. Use `callable(x)` for consistent results.
cherrypy/lib/cpstats.py:255:24: UP004 [*] Class `ByteCountWrapper` inherits from `object`
cherrypy/lib/cpstats.py:302:8: UP036 Version block is outdated for minimum Python version
cherrypy/lib/cpstats.py:338:33: UP031 Use format specifiers instead of percent format
cherrypy/lib/cpstats.py:422:16: UP031 Use format specifiers instead of percent format
cherrypy/lib/cpstats.py:435:17: UP004 [*] Class `StatsPage` inherits from `object`
cherrypy/lib/cpstats.py:524:21: B007 Loop control variable `key` may not be used within loop body
cherrypy/lib/cpstats.py:524:26: B007 Loop control variable `value` may not be used within loop body
cherrypy/lib/cpstats.py:530:21: UP031 Use format specifiers instead of percent format
cherrypy/lib/cpstats.py:600:24: B004 [*] Using `hasattr(x, "__call__")` to test if x is callable is unreliable. Use `callable(x)` for consistent results.
cherrypy/lib/cpstats.py:631:20: B004 [*] Using `hasattr(x, "__call__")` to test if x is callable is unreliable. Use `callable(x)` for consistent results.
cherrypy/lib/cpstats.py:663:20: B004 [*] Using `hasattr(x, "__call__")` to test if x is callable is unreliable. Use `callable(x)` for consistent results.
cherrypy/lib/cptools.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/lib/cptools.py:75:43: UP031 Use format specifiers instead of percent format
cherrypy/lib/cptools.py:90:47: UP031 Use format specifiers instead of percent format
cherrypy/lib/cptools.py:144:26: UP031 Use format specifiers instead of percent format
cherrypy/lib/cptools.py:149:26: UP031 Use format specifiers instead of percent format
cherrypy/lib/cptools.py:181:26: UP031 Use format specifiers instead of percent format
cherrypy/lib/cptools.py:194:26: UP031 Use format specifiers instead of percent format
cherrypy/lib/cptools.py:210:26: UP031 Use format specifiers instead of percent format
cherrypy/lib/cptools.py:271:26: UP031 Use format specifiers instead of percent format
cherrypy/lib/cptools.py:284:19: UP004 [*] Class `SessionAuth` inherits from `object`
cherrypy/lib/cptools.py:308:17: UP018 [*] Unnecessary `str` call (rewrite as a literal)
cherrypy/lib/cptools.py:382:48: B006 Do not use mutable data structures for argument defaults
cherrypy/lib/cptools.py:420:9: UP032 [*] Use f-string instead of `format` call
cherrypy/lib/cptools.py:437:10: UP031 Use format specifiers instead of percent format
cherrypy/lib/cptools.py:466:22: UP031 Use format specifiers instead of percent format
cherrypy/lib/cptools.py:481:22: UP031 Use format specifiers instead of percent format
cherrypy/lib/cptools.py:598:21: UP008 Use `super()` instead of `super(__class__, self)`
cherrypy/lib/cptools.py:602:14: UP008 Use `super()` instead of `super(__class__, self)`
cherrypy/lib/encoding.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/lib/encoding.py:218:16: UP031 Use format specifiers instead of percent format
cherrypy/lib/encoding.py:344:39: B006 Do not use mutable data structures for argument defaults
cherrypy/lib/encoding.py:434:38: UP031 Use format specifiers instead of percent format
cherrypy/lib/gctools.py:16:20: UP004 [*] Class `ReferrerTree` inherits from `object`
cherrypy/lib/gctools.py:73:37: UP031 Use format specifiers instead of percent format
cherrypy/lib/gctools.py:86:16: UP031 Use format specifiers instead of percent format
cherrypy/lib/gctools.py:123:16: UP031 Use format specifiers instead of percent format
cherrypy/lib/gctools.py:133:14: UP004 [*] Class `GCRoot` inherits from `object`
cherrypy/lib/gctools.py:153:13: B007 Loop control variable `trial` not used within loop body
cherrypy/lib/gctools.py:187:18: B007 Loop control variable `minobj` not used within loop body
cherrypy/lib/gctools.py:187:26: B007 Loop control variable `maxobj` not used within loop body
cherrypy/lib/gctools.py:187:34: B007 Loop control variable `msg` not used within loop body
cherrypy/lib/gctools.py:190:34: B007 Loop control variable `msg` not used within loop body
cherrypy/lib/gctools.py:196:25: UP031 Use format specifiers instead of percent format
cherrypy/lib/gctools.py:200:25: UP031 Use format specifiers instead of percent format
cherrypy/lib/gctools.py:206:33: UP031 Use format specifiers instead of percent format
cherrypy/lib/gctools.py:210:35: UP031 Use format specifiers instead of percent format
cherrypy/lib/httputil.py:10:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/lib/httputil.py:88:23: UP027 [*] Replace unpacked list comprehension with a generator expression
cherrypy/lib/httputil.py:129:21: UP004 [*] Class `HeaderElement` inherits from `object`
cherrypy/lib/httputil.py:145:14: UP031 Use format specifiers instead of percent format
cherrypy/lib/httputil.py:146:20: UP031 Use format specifiers instead of percent format
cherrypy/lib/httputil.py:213:17: UP032 [*] Use f-string instead of `format` call
cherrypy/lib/httputil.py:298:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/lib/httputil.py:348:34: UP031 Use format specifiers instead of percent format
cherrypy/lib/httputil.py:485:26: UP031 Use format specifiers instead of percent format
cherrypy/lib/httputil.py:490:12: UP004 [*] Class `Host` inherits from `object`
cherrypy/lib/httputil.py:511:16: UP031 Use format specifiers instead of percent format
cherrypy/lib/jsontools.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/lib/jsontools.py:16:26: B006 Do not use mutable data structures for argument defaults
cherrypy/lib/jsontools.py:16:27: B008 Do not perform function call `ntou` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
cherrypy/lib/jsontools.py:16:53: B008 Do not perform function call `ntou` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
cherrypy/lib/locking.py:4:20: UP004 [*] Class `NeverExpires` inherits from `object`
cherrypy/lib/locking.py:9:13: UP004 [*] Class `Timer` inherits from `object`
cherrypy/lib/locking.py:32:19: UP004 [*] Class `LockChecker` inherits from `object`
cherrypy/lib/locking.py:44:17: UP031 Use format specifiers instead of percent format
cherrypy/lib/profiler.py:35:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/lib/profiler.py:71:16: UP004 [*] Class `Profiler` inherits from `object`
cherrypy/lib/profiler.py:100:12: UP036 Version block is outdated for minimum Python version
cherrypy/lib/profiler.py:139:19: UP031 Use format specifiers instead of percent format
cherrypy/lib/profiler.py:187:13: B028 No explicit `stacklevel` keyword argument found
cherrypy/lib/profiler.py:212:9: B028 No explicit `stacklevel` keyword argument found
cherrypy/lib/reprconf.py:95:16: UP031 Use format specifiers instead of percent format
cherrypy/lib/reprconf.py:181:28: UP031 Use format specifiers instead of percent format
cherrypy/lib/reprconf.py:184:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/lib/reprconf.py:267:12: UP036 Version block is outdated for minimum Python version
cherrypy/lib/reprconf.py:389:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/lib/reprconf.py:389:30: UP031 Use format specifiers instead of percent format
cherrypy/lib/sessions.py:103:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/lib/sessions.py:122:15: UP004 [*] Class `Session` inherits from `object`
cherrypy/lib/sessions.py:267:34: UP031 Use format specifiers instead of percent format
cherrypy/lib/sessions.py:418:19: B007 Loop control variable `data` not used within loop body
cherrypy/lib/sessions.py:534:16: UP024 [*] Replace aliased errors with `OSError`
cherrypy/lib/static.py:48:14: UP032 [*] Use f-string instead of `format` call
cherrypy/lib/static.py:51:19: UP032 [*] Use f-string instead of `format` call
cherrypy/lib/static.py:90:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/lib/static.py:215:25: UP031 Use format specifiers instead of percent format
cherrypy/lib/static.py:219:21: UP031 Use format specifiers instead of percent format
cherrypy/lib/static.py:240:33: UP031 Use format specifiers instead of percent format
cherrypy/lib/static.py:247:29: UP031 Use format specifiers instead of percent format
cherrypy/lib/static.py:252:25: UP028 Replace `yield` over `for` loop with `yield from`
cherrypy/lib/static.py:281:22: UP031 Use format specifiers instead of percent format
cherrypy/lib/static.py:328:26: UP031 Use format specifiers instead of percent format
cherrypy/lib/static.py:363:22: UP031 Use format specifiers instead of percent format
cherrypy/lib/static.py:404:26: UP031 Use format specifiers instead of percent format
cherrypy/lib/static.py:411:19: UP031 Use format specifiers instead of percent format
cherrypy/lib/xmlrpcutil.py:2:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/process/__init__.py:13:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/process/plugins.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/process/plugins.py:33:20: UP004 [*] Class `SimplePlugin` inherits from `object`
cherrypy/process/plugins.py:60:21: UP004 [*] Class `SignalHandler` inherits from `object`
cherrypy/process/plugins.py:154:30: UP031 Use format specifiers instead of percent format
cherrypy/process/plugins.py:159:34: UP031 Use format specifiers instead of percent format
cherrypy/process/plugins.py:163:30: UP031 Use format specifiers instead of percent format
cherrypy/process/plugins.py:184:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/process/plugins.py:212:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/process/plugins.py:283:17: B018 Found useless expression. Either assign it to a variable or remove it.
cherrypy/process/plugins.py:303:30: UP031 Use format specifiers instead of percent format
cherrypy/process/plugins.py:310:30: UP031 Use format specifiers instead of percent format
cherrypy/process/plugins.py:316:30: UP031 Use format specifiers instead of percent format
cherrypy/process/plugins.py:327:30: UP031 Use format specifiers instead of percent format
cherrypy/process/plugins.py:413:14: UP015 [*] Unnecessary open mode parameters
cherrypy/process/plugins.py:438:26: UP031 Use format specifiers instead of percent format
cherrypy/process/plugins.py:442:26: UP031 Use format specifiers instead of percent format
cherrypy/process/plugins.py:467:14: UP008 Use `super()` instead of `super(__class__, self)`
cherrypy/process/plugins.py:496:49: B006 Do not use mutable data structures for argument defaults
cherrypy/process/plugins.py:496:60: B006 Do not use mutable data structures for argument defaults
cherrypy/process/plugins.py:497:14: UP008 Use `super()` instead of `super(__class__, self)`
cherrypy/process/plugins.py:750:13: B007 Loop control variable `thread_ident` not used within loop body
cherrypy/process/servers.py:120:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/process/servers.py:134:21: UP004 [*] Class `ServerAdapter` inherits from `object`
cherrypy/process/servers.py:212:16: UP031 Use format specifiers instead of percent format
cherrypy/process/servers.py:291:21: UP004 [*] Class `FlupCGIServer` inherits from `object`
cherrypy/process/servers.py:314:22: UP004 [*] Class `FlupFCGIServer` inherits from `object`
cherrypy/process/servers.py:359:22: UP004 [*] Class `FlupSCGIServer` inherits from `object`
cherrypy/process/servers.py:410:9: B028 No explicit `stacklevel` keyword argument found
cherrypy/process/win32.py:6:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/process/win32.py:90:44: UP031 Use format specifiers instead of percent format
cherrypy/process/wspbus.py:73:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/process/wspbus.py:102:14: UP008 Use `super()` instead of `super(__class__, self)`
cherrypy/process/wspbus.py:128:18: UP004 [*] Class `_StateEnum` inherits from `object`
cherrypy/process/wspbus.py:130:17: UP004 [*] Class `State` inherits from `object`
cherrypy/process/wspbus.py:161:11: UP004 [*] Class `Bus` inherits from `object`
cherrypy/process/wspbus.py:227:13: B007 Loop control variable `priority` not used within loop body
cherrypy/process/wspbus.py:244:30: UP031 Use format specifiers instead of percent format
cherrypy/process/wspbus.py:253:13: B028 No explicit `stacklevel` keyword argument found
cherrypy/process/wspbus.py:282:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/process/wspbus.py:338:16: UP024 [*] Replace aliased errors with `OSError`
cherrypy/process/wspbus.py:488:25: UP032 [*] Use f-string instead of `format` call
cherrypy/process/wspbus.py:508:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/process/wspbus.py:551:20: UP024 [*] Replace aliased errors with `OSError`
cherrypy/scaffold/__init__.py:14:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/scaffold/__init__.py:28:16: UP031 Use format specifiers instead of percent format
cherrypy/scaffold/__init__.py:39:16: UP031 Use format specifiers instead of percent format
cherrypy/test/_test_decorators.py:7:22: UP004 [*] Class `ExposeExamples` inherits from `object`
cherrypy/test/_test_decorators.py:30:20: UP004 [*] Class `ToolExamples` inherits from `object`
cherrypy/test/_test_states_demo.py:45:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/_test_states_demo.py:59:9: B018 Found useless expression. Either assign it to a variable or remove it.
cherrypy/test/benchmark.py:24:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/benchmark.py:220:17: UP031 Use format specifiers instead of percent format
cherrypy/test/benchmark.py:231:19: B007 Loop control variable `name` not used within loop body
cherrypy/test/benchmark.py:278:21: UP031 Use format specifiers instead of percent format
cherrypy/test/benchmark.py:383:19: UP031 Use format specifiers instead of percent format
cherrypy/test/benchmark.py:405:22: UP004 [*] Class `NullWriter` inherits from `object`
cherrypy/test/checkerdemo.py:8:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/helper.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/helper.py:30:18: UP004 [*] Class `Supervisor` inherits from `object`
cherrypy/test/helper.py:107:16: UP031 Use format specifiers instead of percent format
cherrypy/test/helper.py:118:16: UP031 Use format specifiers instead of percent format
cherrypy/test/helper.py:133:17: B028 No explicit `stacklevel` keyword argument found
cherrypy/test/helper.py:202:18: UP031 Use format specifiers instead of percent format
cherrypy/test/helper.py:303:16: UP031 Use format specifiers instead of percent format
cherrypy/test/helper.py:366:34: UP031 Use format specifiers instead of percent format
cherrypy/test/helper.py:396:17: UP004 [*] Class `CPProcess` inherits from `object`
cherrypy/test/helper.py:424:19: UP031 Use format specifiers instead of percent format
cherrypy/test/helper.py:439:14: UP020 [*] Use builtin `open`
cherrypy/test/logtest.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/logtest.py:20:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/logtest.py:34:15: UP004 [*] Class `LogCase` inherits from `object`
cherrypy/test/logtest.py:219:23: UP031 Use format specifiers instead of percent format
cherrypy/test/modfastcgi.py:47:33: UP031 Use format specifiers instead of percent format
cherrypy/test/modfastcgi.py:52:19: UP024 [*] Replace aliased errors with `OSError`
cherrypy/test/modfastcgi.py:96:16: UP031 Use format specifiers instead of percent format
cherrypy/test/modfcgid.py:48:33: UP031 Use format specifiers instead of percent format
cherrypy/test/modfcgid.py:53:19: UP024 [*] Replace aliased errors with `OSError`
cherrypy/test/modfcgid.py:87:16: UP031 Use format specifiers instead of percent format
cherrypy/test/modpy.py:47:33: UP031 Use format specifiers instead of percent format
cherrypy/test/modpy.py:52:19: UP024 [*] Replace aliased errors with `OSError`
cherrypy/test/modpy.py:103:16: UP031 Use format specifiers instead of percent format
cherrypy/test/modwsgi.py:35:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/modwsgi.py:51:33: UP031 Use format specifiers instead of percent format
cherrypy/test/modwsgi.py:56:19: UP024 [*] Replace aliased errors with `OSError`
cherrypy/test/modwsgi.py:104:16: UP031 Use format specifiers instead of percent format
cherrypy/test/sessiondemo.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/sessiondemo.py:100:12: UP004 [*] Class `Root` inherits from `object`
cherrypy/test/test_auth_basic.py:2:1: UP009 [*] UTF-8 encoding declaration is unnecessary
cherrypy/test/test_auth_digest.py:2:1: UP009 [*] UTF-8 encoding declaration is unnecessary
cherrypy/test/test_auth_digest.py:6:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_bus.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_bus.py:221:37: UP031 Use format specifiers instead of percent format
cherrypy/test/test_bus.py:318:9: B018 Found useless expression. Either assign it to a variable or remove it.
cherrypy/test/test_caching.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_caching.py:75:39: UP004 [*] Class `VaryHeaderCachingServer` inherits from `object`
cherrypy/test/test_caching.py:91:24: UP004 [*] Class `UnCached` inherits from `object`
cherrypy/test/test_caching.py:119:23: UP004 [*] Class `Foo` inherits from `object`
cherrypy/test/test_caching.py:136:31: UP004 [*] Class `GzipStaticCache` inherits from `object`
cherrypy/test/test_config.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_config_server.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_config_server.py:90:13: B007 Loop control variable `size` not used within loop body
cherrypy/test/test_config_server.py:99:40: UP031 Use format specifiers instead of percent format
cherrypy/test/test_conn.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_conn.py:425:13: B007 Loop control variable `trial` not used within loop body
cherrypy/test/test_conn.py:649:25: UP031 Use format specifiers instead of percent format
cherrypy/test/test_conn.py:786:17: B007 Loop control variable `i` not used within loop body
cherrypy/test/test_conn.py:816:20: UP024 [*] Replace aliased errors with `OSError`
cherrypy/test/test_conn.py:824:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cherrypy/test/test_core.py:1:1: UP009 [*] UTF-8 encoding declaration is unnecessary
cherrypy/test/test_core.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_core.py:241:17: UP028 Replace `yield` over `for` loop with `yield from`
cherrypy/test/test_core.py:325:13: UP031 Use format specifiers instead of percent format
cherrypy/test/test_core.py:334:36: UP031 Use format specifiers instead of percent format
cherrypy/test/test_core.py:343:13: UP031 Use format specifiers instead of percent format
cherrypy/test/test_core.py:418:13: UP031 Use format specifiers instead of percent format
cherrypy/test/test_core.py:557:30: UP031 Use format specifiers instead of percent format
cherrypy/test/test_core.py:651:25: UP031 Use format specifiers instead of percent format
cherrypy/test/test_dynamicobjectmapping.py:39:20: UP031 Use format specifiers instead of percent format
cherrypy/test/test_dynamicobjectmapping.py:61:20: UP031 Use format specifiers instead of percent format
cherrypy/test/test_dynamicobjectmapping.py:73:16: UP004 [*] Class `User` inherits from `object`
cherrypy/test/test_dynamicobjectmapping.py:97:29: UP004 [*] Class `UserContainerNode` inherits from `object`
cherrypy/test/test_dynamicobjectmapping.py:114:28: UP004 [*] Class `UserInstanceNode` inherits from `object`
cherrypy/test/test_encoding.py:1:1: UP009 [*] UTF-8 encoding declaration is unnecessary
cherrypy/test/test_encoding.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_encoding.py:30:51: UP031 Use format specifiers instead of percent format
cherrypy/test/test_http.py:1:1: UP009 [*] UTF-8 encoding declaration is unnecessary
cherrypy/test/test_http.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_http.py:51:9: B007 Loop control variable `key` may not be used within loop body
cherrypy/test/test_http.py:73:36: UP031 Use format specifiers instead of percent format
cherrypy/test/test_http.py:75:35: UP031 Use format specifiers instead of percent format
cherrypy/test/test_http.py:144:33: UP031 Use format specifiers instead of percent format
cherrypy/test/test_http.py:146:32: UP031 Use format specifiers instead of percent format
cherrypy/test/test_http.py:206:48: UP025 [*] Remove unicode literals from strings
cherrypy/test/test_http.py:285:31: UP031 Use format specifiers instead of percent format
cherrypy/test/test_http.py:296:16: UP024 [*] Replace aliased errors with `OSError`
cherrypy/test/test_http.py:304:28: UP031 Use format specifiers instead of percent format
cherrypy/test/test_http.py:314:16: UP024 [*] Replace aliased errors with `OSError`
cherrypy/test/test_httputil.py:2:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_iterator.py:5:20: UP004 [*] Class `IteratorBase` inherits from `object`
cherrypy/test/test_iterator.py:24:17: B007 Loop control variable `i` not used within loop body
cherrypy/test/test_iterator.py:84:20: UP004 [*] Class `Root` inherits from `object`
cherrypy/test/test_iterator.py:194:17: UP031 Use format specifiers instead of percent format
cherrypy/test/test_json.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_json.py:14:20: UP004 [*] Class `Root` inherits from `object`
cherrypy/test/test_logging.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_logging.py:15:12: UP025 [*] Remove unicode literals from strings
cherrypy/test/test_logging.py:16:10: UP025 [*] Remove unicode literals from strings
cherrypy/test/test_logging.py:115:9: UP031 Use format specifiers instead of percent format
cherrypy/test/test_logging.py:149:9: UP031 Use format specifiers instead of percent format
cherrypy/test/test_logging.py:186:9: UP031 Use format specifiers instead of percent format
cherrypy/test/test_logging.py:245:9: UP031 Use format specifiers instead of percent format
cherrypy/test/test_logging.py:271:18: UP031 Use format specifiers instead of percent format
cherrypy/test/test_logging.py:280:25: UP031 Use format specifiers instead of percent format
cherrypy/test/test_logging.py:293:25: UP031 Use format specifiers instead of percent format
cherrypy/test/test_logging.py:299:25: UP031 Use format specifiers instead of percent format
cherrypy/test/test_logging.py:309:29: UP031 Use format specifiers instead of percent format
cherrypy/test/test_mime.py:22:21: UP031 Use format specifiers instead of percent format
cherrypy/test/test_misc_tools.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_misc_tools.py:73:13: B015 Pointless comparison. Did you mean to assign a value? Otherwise, prepend `assert` or remove it.
cherrypy/test/test_misc_tools.py:75:13: B015 Pointless comparison. Did you mean to assign a value? Otherwise, prepend `assert` or remove it.
cherrypy/test/test_native.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_native.py:18:16: UP004 [*] Class `Root` inherits from `object`
cherrypy/test/test_objectmapping.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_objectmapping.py:68:32: UP004 [*] Class `ExposingNewStyle` inherits from `object`
cherrypy/test/test_objectmapping.py:262:22: UP031 Use format specifiers instead of percent format
cherrypy/test/test_objectmapping.py:265:22: UP031 Use format specifiers instead of percent format
cherrypy/test/test_objectmapping.py:389:20: UP004 [*] Class `Root` inherits from `object`
cherrypy/test/test_objectmapping.py:419:12: UP036 Version block is outdated for minimum Python version
cherrypy/test/test_params.py:46:12: UP036 Version block is outdated for minimum Python version
cherrypy/test/test_plugins.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_plugins.py:4:1: UP001 [*] `__metaclass__ = type` is implied
cherrypy/test/test_proxy.py:74:27: UP031 Use format specifiers instead of percent format
cherrypy/test/test_proxy.py:136:25: UP031 Use format specifiers instead of percent format
cherrypy/test/test_refleaks.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_refleaks.py:36:20: UP031 Use format specifiers instead of percent format
cherrypy/test/test_request_obj.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_request_obj.py:86:24: UP031 Use format specifiers instead of percent format
cherrypy/test/test_request_obj.py:90:24: UP031 Use format specifiers instead of percent format
cherrypy/test/test_request_obj.py:93:35: UP004 [*] Class `ParamErrorsCallable` inherits from `object`
cherrypy/test/test_request_obj.py:232:37: UP031 Use format specifiers instead of percent format
cherrypy/test/test_request_obj.py:296:25: UP031 Use format specifiers instead of percent format
cherrypy/test/test_request_obj.py:302:25: UP031 Use format specifiers instead of percent format
cherrypy/test/test_request_obj.py:371:25: UP031 Use format specifiers instead of percent format
cherrypy/test/test_request_obj.py:378:25: UP031 Use format specifiers instead of percent format
cherrypy/test/test_request_obj.py:388:25: UP031 Use format specifiers instead of percent format
cherrypy/test/test_request_obj.py:613:12: UP036 Version block is outdated for minimum Python version
cherrypy/test/test_request_obj.py:617:15: UP031 Use format specifiers instead of percent format
cherrypy/test/test_request_obj.py:936:13: B007 Loop control variable `x` not used within loop body
cherrypy/test/test_routes.py:2:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_routes.py:42:24: UP031 Use format specifiers instead of percent format
cherrypy/test/test_session.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_session.py:24:34: B006 Do not use mutable data structures for argument defaults
cherrypy/test/test_session.py:172:9: B015 Pointless comparison. Did you mean to assign a value? Otherwise, prepend `assert` or remove it.
cherrypy/test/test_session.py:262:37: UP031 Use format specifiers instead of percent format
cherrypy/test/test_session.py:264:36: UP031 Use format specifiers instead of percent format
cherrypy/test/test_session.py:265:17: B007 Loop control variable `i` not used within loop body
cherrypy/test/test_session.py:509:17: B007 Loop control variable `i` not used within loop body
cherrypy/test/test_states.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_states.py:257:38: UP031 Use format specifiers instead of percent format
cherrypy/test/test_states.py:373:23: UP031 Use format specifiers instead of percent format
cherrypy/test/test_static.py:1:1: UP009 [*] UTF-8 encoding declaration is unnecessary
cherrypy/test/test_static.py:2:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_static.py:32:9: UP020 [*] Use builtin `open`
cherrypy/test/test_static.py:110:32: UP012 [*] Unnecessary UTF-8 `encoding` argument to `encode`
cherrypy/test/test_static.py:214:13: UP032 [*] Use f-string instead of `format` call
cherrypy/test/test_static.py:257:13: UP031 Use format specifiers instead of percent format
cherrypy/test/test_static.py:266:12: UP036 Version block is outdated for minimum Python version
cherrypy/test/test_static.py:388:21: UP031 Use format specifiers instead of percent format
cherrypy/test/test_tools.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_tools.py:110:23: UP004 [*] Class `Rotator` inherits from `object`
cherrypy/test/test_tools.py:415:13: B018 Found useless expression. Either assign it to a variable or remove it.
cherrypy/test/test_tools.py:456:46: UP018 [*] Unnecessary `str` call (rewrite as a literal)
cherrypy/test/test_tools.py:457:40: UP018 [*] Unnecessary `str` call (rewrite as a literal)
cherrypy/test/test_tutorials.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_tutorials.py:28:53: B006 Do not use mutable data structures for argument defaults
cherrypy/test/test_tutorials.py:32:16: B009 [*] Do not call `getattr` with a constant attribute value. It is not any safer than normal property access.
cherrypy/test/test_wsgi_ns.py:10:28: UP004 [*] Class `WSGIResponse` inherits from `object`
cherrypy/test/test_wsgi_ns.py:29:26: UP004 [*] Class `ChangeCase` inherits from `object`
cherrypy/test/test_wsgi_ns.py:47:24: UP004 [*] Class `Replacer` inherits from `object`
cherrypy/test/test_wsgi_ns.py:49:41: B006 Do not use mutable data structures for argument defaults
cherrypy/test/test_wsgi_ns.py:71:20: UP004 [*] Class `Root` inherits from `object`
cherrypy/test/test_wsgi_unix_socket.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_wsgi_unix_socket.py:59:20: UP004 [*] Class `Root` inherits from `object`
cherrypy/test/test_wsgi_vhost.py:10:27: UP004 [*] Class `ClassOfRoot` inherits from `object`
cherrypy/test/test_wsgiapps.py:22:31: UP031 Use format specifiers instead of percent format
cherrypy/test/test_wsgiapps.py:33:28: UP004 [*] Class `WSGIResponse` inherits from `object`
cherrypy/test/test_wsgiapps.py:42:16: UP036 Version block is outdated for minimum Python version
cherrypy/test/test_wsgiapps.py:53:35: UP004 [*] Class `ReversingMiddleware` inherits from `object`
cherrypy/test/test_wsgiapps.py:63:24: UP036 Version block is outdated for minimum Python version
cherrypy/test/test_xmlrpc.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/test_xmlrpc.py:93:19: UP031 Use format specifiers instead of percent format
cherrypy/test/test_xmlrpc.py:96:19: UP031 Use format specifiers instead of percent format
cherrypy/test/webtest.py:2:1: I001 [*] Import block is un-sorted or un-formatted
cherrypy/test/webtest.py:11:1: B028 No explicit `stacklevel` keyword argument found
cherrypy/tutorial/tut05_derived_objects.py:20:16: UP031 Use format specifiers instead of percent format
cherrypy/tutorial/tut09_files.py:53:16: UP004 [*] Class `FileDemo` inherits from `object`
cherrypy/tutorial/tut10_http_errors.py:20:21: UP004 [*] Class `HTTPErrorDemo` inherits from `object`
conftest.py:3:1: I001 [*] Import block is un-sorted or un-formatted
conftest.py:12:4: UP036 Version block is outdated for minimum Python version
docs/conf.py:2:1: UP009 [*] UTF-8 encoding declaration is unnecessary
setup.py:4:1: I001 [*] Import block is un-sorted or un-formatted
setup.py:8:13: UP032 [*] Use f-string instead of `format` call
setup.py:9:12: UP032 [*] Use f-string instead of `format` call
setup.py:48:25: UP032 [*] Use f-string instead of `format` call
setup.py:49:23: UP032 [*] Use f-string instead of `format` call
setup.py:50:23: UP032 [*] Use f-string instead of `format` call
setup.py:51:23: UP032 [*] Use f-string instead of `format` call
setup.py:53:27: UP032 [*] Use f-string instead of `format` call
tests/dist-check.py:55:10: B017 `pytest.raises(Exception)` should be considered evil
Found 508 errors.
[*] 213 fixable with the `--fix` option (230 hidden fixes can be enabled with the `--unsafe-fixes` option).
keyrings.firefox
keyrings/firefox.py:1:1: I001 [*] Import block is un-sorted or un-formatted
keyrings/firefox.py:115:17: UP031 Use format specifiers instead of percent format
Found 2 errors.
[*] 1 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
multipy-tox
warning: No Python files found under the given path(s)
All checks passed!
jaraco.fabric
jaraco/fabric/__main__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/fabric/apt.py:1:1: UP010 [*] Unnecessary `__future__` import `print_function` for target Python version
jaraco/fabric/apt.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/fabric/fabfile.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/fabric/files.py:6:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/fabric/files.py:21:57: B006 Do not use mutable data structures for argument defaults
jaraco/fabric/mongodb.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/fabric/mongodb.py:41:24: UP032 [*] Use f-string instead of `format` call
jaraco/fabric/mongodb.py:130:11: UP032 [*] Use f-string instead of `format` call
jaraco/fabric/wrapper.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 10 errors.
[*] 9 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
jaraco.tidelift
jaraco/tidelift/banner.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/tidelift/publish-release-notes.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 2 errors.
[*] 2 fixable with the `--fix` option.
jaraco.compat
All checks passed!
/schettino72/pytest-ignore-flaky
dodo.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pytest_ignore_flaky.py:9:1: I001 [*] Import block is un-sorted or un-formatted
setup.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 3 errors.
[*] 3 fixable with the `--fix` option.
googlevoice
examples/folders.py:1:1: UP010 [*] Unnecessary `__future__` import `print_function` for target Python version
examples/voicemail.py:1:1: UP010 [*] Unnecessary `__future__` import `print_function` for target Python version
googlevoice/__init__.py:23:1: I001 [*] Import block is un-sorted or un-formatted
googlevoice/__main__.py:5:1: I001 [*] Import block is un-sorted or un-formatted
googlevoice/conf.py:1:1: I001 [*] Import block is un-sorted or un-formatted
googlevoice/conf.py:13:33: B008 Do not perform function call `os.path.expanduser` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
googlevoice/conf.py:20:20: UP024 [*] Replace aliased errors with `OSError`
googlevoice/conf.py:27:16: UP024 [*] Replace aliased errors with `OSError`
googlevoice/interact.py:10:1: I001 [*] Import block is un-sorted or un-formatted
googlevoice/setup-asterisk.py:6:1: I001 [*] Import block is un-sorted or un-formatted
googlevoice/setup-asterisk.py:53:9: UP031 Use format specifiers instead of percent format
googlevoice/setup-asterisk.py:103:12: UP024 [*] Replace aliased errors with `OSError`
googlevoice/test_all.py:1:1: I001 [*] Import block is un-sorted or un-formatted
googlevoice/test_all.py:62:27: B009 [*] Do not call `getattr` with a constant attribute value. It is not any safer than normal property access.
googlevoice/test_all.py:72:12: B009 [*] Do not call `getattr` with a constant attribute value. It is not any safer than normal property access.
googlevoice/test_all.py:117:9: B015 Pointless comparison. Did you mean to assign a value? Otherwise, prepend `assert` or remove it.
googlevoice/util.py:1:1: I001 [*] Import block is un-sorted or un-formatted
googlevoice/util.py:14:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
googlevoice/util.py:95:14: UP008 Use `super()` instead of `super(__class__, self)`
googlevoice/util.py:193:16: UP031 Use format specifiers instead of percent format
googlevoice/util.py:223:16: UP031 Use format specifiers instead of percent format
googlevoice/util.py:226:17: UP004 [*] Class `XMLParser` inherits from `object`
googlevoice/util.py:276:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
googlevoice/util.py:294:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
googlevoice/voice.py:1:1: I001 [*] Import block is un-sorted or un-formatted
googlevoice/voice.py:21:13: UP004 [*] Class `Voice` inherits from `object`
googlevoice/voice.py:38:9: B010 [*] Do not call `setattr` with a constant attribute value. It is not any safer than normal property access.
googlevoice/voice.py:65:42: B009 [*] Do not call `getattr` with a constant attribute value. It is not any safer than normal property access.
googlevoice/voice.py:80:34: B009 [*] Do not call `getattr` with a constant attribute value. It is not any safer than normal property access.
googlevoice/voice.py:91:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
googlevoice/voice.py:100:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
googlevoice/voice.py:128:21: UP031 Use format specifiers instead of percent format
googlevoice/voice.py:253:1: I001 [*] Import block is un-sorted or un-formatted
googlevoice/voice.py:265:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
googlevoice/voice.py:306:50: B006 Do not use mutable data structures for argument defaults
googlevoice/voice.py:315:58: B006 Do not use mutable data structures for argument defaults
googlevoice/voice.py:315:68: B006 Do not use mutable data structures for argument defaults
googlevoice/voice.py:328:55: B006 Do not use mutable data structures for argument defaults
googlevoice/voice.py:328:65: B006 Do not use mutable data structures for argument defaults
Found 39 errors.
[*] 21 fixable with the `--fix` option (10 hidden fixes can be enabled with the `--unsafe-fixes` option).
jaraco.xonsh
All checks passed!
jaraco.packaging
jaraco/packaging/make-tree.py:6:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/packaging/sphinx.py:9:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/packaging/sphinx.py:99:5: B028 No explicit `stacklevel` keyword argument found
Found 3 errors.
[*] 2 fixable with the `--fix` option.
jaraco.path
jaraco/path.py:5:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/path.py:39:14: UP031 Use format specifiers instead of percent format
jaraco/path.py:377:28: B008 Do not perform function call `pathlib.PurePosixPath` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
Found 3 errors.
[*] 1 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
jaraco.postgres
jaraco/postgres/__init__.py:30:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/postgres/__init__.py:371:20: UP024 [*] Replace aliased errors with `OSError`
jaraco/postgres/__init__.py:507:13: B007 Loop control variable `i` not used within loop body
jaraco/postgres/__init__.py:523:16: UP024 [*] Replace aliased errors with `OSError`
jaraco/postgres/__init__.py:567:17: UP032 [*] Use f-string instead of `format` call
jaraco/postgres/fixtures.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_postgres.py:1:1: UP009 [*] UTF-8 encoding declaration is unnecessary
tests/test_postgres.py:9:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_postgres.py:56:18: UP020 [*] Use builtin `open`
tests/test_postgres.py:285:14: B017 `pytest.raises(Exception)` should be considered evil
tests/test_postgres.py:314:13: UP031 Use format specifiers instead of percent format
tests/test_postgres.py:322:13: UP031 Use format specifiers instead of percent format
Found 12 errors.
[*] 8 fixable with the `--fix` option (2 hidden fixes can be enabled with the `--unsafe-fixes` option).
pip-run
All checks passed!
jaraco.modb
jaraco/modb/__init__.py:16:21: UP008 Use `super()` instead of `super(__class__, self)`
tests/test_handlers.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_handlers.py:34:27: UP004 [*] Class `TestUnicodeSubclass` inherits from `object`
tests/test_main.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_main.py:21:23: UP004 [*] Class `ObjectUnderTest` inherits from `object`
Found 5 errors.
[*] 4 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
jaraco.email
jaraco/email/messages.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/email/messages.py:41:28: UP004 [*] Class `MessageDetailWrapper` inherits from `object`
jaraco/email/messages.py:88:22: UP004 [*] Class `MessageHandler` inherits from `object`
jaraco/email/notification.py:13:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/email/notification.py:23:26: UP004 [*] Class `NotificationTarget` inherits from `object`
jaraco/email/notification.py:43:16: UP031 Use format specifiers instead of percent format
jaraco/email/notification.py:79:20: UP031 Use format specifiers instead of percent format
jaraco/email/notification.py:123:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/email/smtp.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_notification.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_notification.py:5:19: UP004 [*] Class `TestMailbox` inherits from `object`
Found 11 errors.
[*] 8 fixable with the `--fix` option (3 hidden fixes can be enabled with the `--unsafe-fixes` option).
oathtool
oathtool/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
oathtool/__main__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
oathtool/generate-script.py:8:1: I001 [*] Import block is un-sorted or un-formatted
oathtool/test_oathtool.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 4 errors.
[*] 4 fixable with the `--fix` option.
jaraco.mongodb
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/check-gridfs.py:5:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/codec.py:25:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/compat.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/fixtures.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/helper.py:5:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/insert-doc.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/install.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/manage.py:4:35: B006 Do not use mutable data structures for argument defaults
jaraco/mongodb/migration.py:10:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/migration.py:18:15: UP004 [*] Class `Manager` inherits from `object`
jaraco/mongodb/migration.py:142:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/mongodb/monitor-index-creation.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/move-gridfs.py:21:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/oplog.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/oplog.py:17:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/oplog.py:177:18: UP004 [*] Class `RenameSpec` inherits from `object`
jaraco/mongodb/oplog.py:191:33: UP030 Use implicit references for positional format fields
jaraco/mongodb/oplog.py:191:33: UP032 [*] Use f-string instead of `format` call
jaraco/mongodb/oplog.py:398:16: UP004 [*] Class `NiceRepr` inherits from `object`
jaraco/mongodb/oplog.py:494:13: UP004 [*] Class `Oplog` inherits from `object`
jaraco/mongodb/oplog.py:522:13: UP028 Replace `yield` over `for` loop with `yield from`
jaraco/mongodb/oplog.py:547:26: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/mongodb/oplog.py:612:22: UP004 [*] Class `NullResumeFile` inherits from `object`
jaraco/mongodb/pmxbot.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/repair-gridfs.py:7:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/sampling.py:4:27: B006 Do not use mutable data structures for argument defaults
jaraco/mongodb/service.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/service.py:86:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/mongodb/service.py:126:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/mongodb/service.py:157:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/mongodb/service.py:183:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/mongodb/service.py:239:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/mongodb/sessions.py:32:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/sessions.py:51:17: UP004 [*] Class `NullCodec` inherits from `object`
jaraco/mongodb/sessions.py:82:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/mongodb/sharding.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/tests/test_insert_doc.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/tests/test_oplog.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/tests/test_sessions.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/mongodb/tests/test_sessions.py:24:20: UP004 [*] Class `TestSessions` inherits from `object`
jaraco/mongodb/timers.py:4:20: UP004 [*] Class `NeverExpires` inherits from `object`
jaraco/mongodb/timers.py:9:13: UP004 [*] Class `Timer` inherits from `object`
Found 43 errors.
[*] 31 fixable with the `--fix` option (11 hidden fixes can be enabled with the `--unsafe-fixes` option).
rst.linker
rst/linker.py:5:1: I001 [*] Import block is un-sorted or un-formatted
rst/linker.py:146:42: B006 Do not use mutable data structures for argument defaults
rst/linker.py:171:14: UP020 [*] Use builtin `open`
rst/linker.py:173:14: UP020 [*] Use builtin `open`
rst/linker.py:178:26: UP018 [*] Unnecessary `str` call (rewrite as a literal)
rst/linker.py:179:17: UP018 [*] Unnecessary `str` call (rewrite as a literal)
rst/linker.py:215:21: UP018 [*] Unnecessary `str` call (rewrite as a literal)
test_all.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 8 errors.
[*] 7 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
freedompop
freedompop/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 1 error.
[*] 1 fixable with the `--fix` option.
jaraco.crypto
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/crypto/cipher.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/crypto/cipher.py:29:13: UP031 Use format specifiers instead of percent format
jaraco/crypto/cipher.py:31:38: UP031 Use format specifiers instead of percent format
jaraco/crypto/cipher.py:34:31: UP031 Use format specifiers instead of percent format
jaraco/crypto/digest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/crypto/digest.py:18:31: UP031 Use format specifiers instead of percent format
jaraco/crypto/evp.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/crypto/rand.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/crypto/support.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/crypto/tests/test_threads.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 11 errors.
[*] 7 fixable with the `--fix` option (4 hidden fixes can be enabled with the `--unsafe-fixes` option).
jaraco.ui
jaraco/ui/cmdline.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/ui/editor.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/ui/editor.py:17:20: UP004 [*] Class `EditableFile` inherits from `object`
jaraco/ui/editor.py:73:23: UP031 Use format specifiers instead of percent format
jaraco/ui/input.py:9:5: B018 Found useless expression. Either assign it to a variable or remove it.
jaraco/ui/input.py:15:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/ui/menu.py:4:12: UP004 [*] Class `Menu` inherits from `object`
jaraco/ui/menu.py:18:13: B007 Loop control variable `number` may not be used within loop body
jaraco/ui/menu.py:18:21: B007 Loop control variable `choice` may not be used within loop body
jaraco/ui/progress.py:3:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/ui/progress.py:88:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/ui/progress.py:119:14: UP008 Use `super()` instead of `super(__class__, self)`
Found 12 errors.
[*] 6 fixable with the `--fix` option (3 hidden fixes can be enabled with the `--unsafe-fixes` option).
/cherrypy/cherrypy-cors
cherrypy_cors/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
simple-example.py:35:1: I001 [*] Import block is un-sorted or un-formatted
Found 2 errors.
[*] 2 fixable with the `--fix` option.
pytest-enabler
pytest_enabler/__init__.py:13:1: I001 [*] Import block is un-sorted or un-formatted
Found 1 error.
[*] 1 fixable with the `--fix` option.
zipp
tests/_support.py:9:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
tests/_test_params.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_complexity.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_path.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_path.py:338:17: B007 Loop control variable `rep` not used within loop body
tests/test_path.py:445:13: B018 Found useless expression. Either assign it to a variable or remove it.
tests/test_path.py:447:13: B018 Found useless expression. Either assign it to a variable or remove it.
tests/write-alpharep.py:1:1: I001 [*] Import block is un-sorted or un-formatted
zipp/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
zipp/compat/py310.py:1:1: I001 [*] Import block is un-sorted or un-formatted
zipp/glob.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 11 errors.
[*] 7 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
/python/importlib_metadata
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
exercises.py:31:1: I001 [*] Import block is un-sorted or un-formatted
exercises.py:40:1: I001 [*] Import block is un-sorted or un-formatted
importlib_metadata/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_metadata/__init__.py:173:11: UP007 Use `X | Y` for type annotations
importlib_metadata/__init__.py:201:25: UP006 Use `list` instead of `List` for type annotation
importlib_metadata/__init__.py:269:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
importlib_metadata/__init__.py:276:16: UP031 Use format specifiers instead of percent format
importlib_metadata/__init__.py:286:24: UP006 Use `set` instead of `Set` for type annotation
importlib_metadata/__init__.py:293:25: UP006 Use `set` instead of `Set` for type annotation
importlib_metadata/__init__.py:314:11: UP007 Use `X | Y` for type annotations
importlib_metadata/__init__.py:369:38: UP007 Use `X | Y` for type annotations
importlib_metadata/__init__.py:414:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
importlib_metadata/__init__.py:418:26: UP007 Use `X | Y` for type annotations
importlib_metadata/__init__.py:504:24: UP007 Use `X | Y` for type annotations
importlib_metadata/__init__.py:504:33: UP006 Use `list` instead of `List` for type annotation
importlib_metadata/__init__.py:597:27: UP007 Use `X | Y` for type annotations
importlib_metadata/__init__.py:597:36: UP006 Use `list` instead of `List` for type annotation
importlib_metadata/__init__.py:700:27: UP006 Use `list` instead of `List` for type annotation
importlib_metadata/__init__.py:711:42: B008 Do not perform function call `Context` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
importlib_metadata/__init__.py:737:5: B019 Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
importlib_metadata/__init__.py:737:25: UP011 [*] Unnecessary parentheses to `functools.lru_cache`
importlib_metadata/__init__.py:849:30: UP007 Use `X | Y` for type annotations
importlib_metadata/__init__.py:885:22: B008 Do not perform function call `DistributionFinder.Context` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
importlib_metadata/__init__.py:919:62: UP007 Use `X | Y` for type annotations
importlib_metadata/__init__.py:1026:38: UP007 Use `X | Y` for type annotations
importlib_metadata/__init__.py:1026:47: UP006 Use `list` instead of `List` for type annotation
importlib_metadata/__init__.py:1035:41: UP007 Use `X | Y` for type annotations
importlib_metadata/__init__.py:1035:50: UP006 Use `list` instead of `List` for type annotation
importlib_metadata/__init__.py:1045:46: UP006 Use `list` instead of `List` for type annotation
importlib_metadata/__init__.py:1066:36: UP007 Use `X | Y` for type annotations
importlib_metadata/_adapters.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_metadata/_compat.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_metadata/_functools.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_metadata/_meta.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_metadata/_meta.py:23:10: UP007 Use `X | Y` for type annotations
importlib_metadata/_meta.py:26:46: UP007 Use `X | Y` for type annotations
importlib_metadata/_meta.py:32:10: UP007 Use `X | Y` for type annotations
importlib_metadata/_meta.py:32:19: UP006 Use `list` instead of `List` for type annotation
importlib_metadata/_meta.py:35:50: UP007 Use `X | Y` for type annotations
importlib_metadata/_meta.py:35:56: UP006 Use `list` instead of `List` for type annotation
importlib_metadata/_meta.py:41:23: UP006 Use `dict` instead of `Dict` for type annotation
importlib_metadata/_meta.py:41:33: UP007 Use `X | Y` for type annotations
importlib_metadata/_meta.py:41:44: UP006 Use `list` instead of `List` for type annotation
importlib_metadata/_meta.py:53:22: UP007 Use `X | Y` for type annotations
importlib_metadata/_meta.py:57:22: UP007 Use `X | Y` for type annotations
tests/_path.py:3:1: I001 [*] Import block is un-sorted or un-formatted
tests/_path.py:99:28: B008 Do not perform function call `pathlib.PurePosixPath` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
tests/compat/py39.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/compat/test_py39_compat.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/compat/test_py39_compat.py:50:50: B008 Do not perform function call `DistributionFinder.Context` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
tests/fixtures.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/fixtures.py:22:5: B009 [*] Do not call `getattr` with a constant attribute value. It is not any safer than normal property access.
tests/fixtures.py:23:5: B009 [*] Do not call `getattr` with a constant attribute value. It is not any safer than normal property access.
tests/test_api.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_integration.py:10:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_main.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_main.py:71:14: B017 `assertRaises(Exception)` should be considered evil
tests/test_zip.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 59 errors.
[*] 19 fixable with the `--fix` option (32 hidden fixes can be enabled with the `--unsafe-fixes` option).
pytest-perf
exercises.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pytest_perf/plugin.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pytest_perf/runner.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 3 errors.
[*] 3 fixable with the `--fix` option.
nat-pmp
natpmp/__init__.py:18:1: I001 [*] Import block is un-sorted or un-formatted
natpmp/__init__.py:89:14: UP008 Use `super()` instead of `super(__class__, self)`
natpmp/__init__.py:101:14: UP008 Use `super()` instead of `super(__class__, self)`
natpmp/__init__.py:157:14: UP008 Use `super()` instead of `super(__class__, self)`
natpmp/__init__.py:190:14: UP008 Use `super()` instead of `super(__class__, self)`
natpmp/__main__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 6 errors.
[*] 2 fixable with the `--fix` option (4 hidden fixes can be enabled with the `--unsafe-fixes` option).
jaraco.desktop
jaraco/desktop/wallpaper.py:15:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/desktop/wallpaper.py:46:15: UP024 [*] Replace aliased errors with `OSError`
jaraco/desktop/wallpaper.py:103:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Found 3 errors.
[*] 2 fixable with the `--fix` option.
moneydance
amazon.py:1:1: UP010 [*] Unnecessary `__future__` imports `print_function`, `unicode_literals` for target Python version
amazon.py:1:1: I001 [*] Import block is un-sorted or un-formatted
amazon.py:8:1: UP001 [*] `__metaclass__ = type` is implied
install.py:1:1: I001 [*] Import block is un-sorted or un-formatted
migration.py:1:1: UP009 [*] UTF-8 encoding declaration is unnecessary
migration.py:18:1: UP010 [*] Unnecessary `__future__` imports `print_function`, `unicode_literals` for target Python version
migration.py:18:1: I001 [*] Import block is un-sorted or un-formatted
migration.py:159:3: UP028 Replace `yield` over `for` loop with `yield from`
migration.py:215:7: UP020 [*] Use builtin `open`
migration.py:222:7: UP020 [*] Use builtin `open`
migration.py:233:7: UP020 [*] Use builtin `open`
migration.py:234:8: UP020 [*] Use builtin `open`
sidebar.py:5:1: UP010 [*] Unnecessary `__future__` import `print_function` for target Python version
sidebar.py:5:1: I001 [*] Import block is un-sorted or un-formatted
Found 14 errors.
[*] 13 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
jaraco.functools
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/functools/__init__.py:79:40: B008 Do not perform function call `functools.lru_cache` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
jaraco/functools/__init__.pyi:1:1: I001 [*] Import block is un-sorted or un-formatted
test_functools.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 4 errors.
[*] 3 fixable with the `--fix` option.
jaraco.stream
jaraco/stream/buffer.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/stream/buffer.py:97:26: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/stream/buffer.py:128:26: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/stream/gzip.py:6:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/stream/test_gzip.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 5 errors.
[*] 3 fixable with the `--fix` option (2 hidden fixes can be enabled with the `--unsafe-fixes` option).
jaraco.envs
jaraco/envs.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_envs.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 2 errors.
[*] 2 fixable with the `--fix` option.
pytest-checkdocs
pytest_checkdocs/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 1 error.
[*] 1 fixable with the `--fix` option.
tempora
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
conftest.py:14:8: UP036 Version block is outdated for minimum Python version
tempora/__init__.py:3:1: I001 [*] Import block is un-sorted or un-formatted
tempora/__init__.py:36:21: UP011 [*] Unnecessary parentheses to `functools.lru_cache`
tempora/__init__.py:269:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
tempora/__init__.py:564:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
tempora/schedule.py:16:1: I001 [*] Import block is un-sorted or un-formatted
tempora/utc.py:26:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_schedule.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_timing.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 10 errors.
[*] 7 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
/pmxbot/pmxbot
pmxbot/commands.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pmxbot/commands.py:360:11: UP031 Use format specifiers instead of percent format
pmxbot/commands.py:366:12: UP031 Use format specifiers instead of percent format
pmxbot/commands.py:418:9: B007 Loop control variable `i` not used within loop body
pmxbot/commands.py:485:44: UP031 Use format specifiers instead of percent format
pmxbot/commands.py:486:44: UP031 Use format specifiers instead of percent format
pmxbot/commands.py:800:20: UP031 Use format specifiers instead of percent format
pmxbot/config_.py:23:9: B018 Found useless expression. Either assign it to a variable or remove it.
pmxbot/core.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pmxbot/irc.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pmxbot/irc.py:73:56: B026 Star-arg unpacking after a keyword argument is strongly discouraged
pmxbot/karma.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pmxbot/karma.py:289:14: B005 Using `.strip()` with multi-character strings is misleading
pmxbot/karma.py:289:14: B005 Using `.strip()` with multi-character strings is misleading
pmxbot/karma.py:289:14: B005 Using `.strip()` with multi-character strings is misleading
pmxbot/logging.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pmxbot/logging.py:134:17: UP031 Use format specifiers instead of percent format
pmxbot/logging.py:158:13: B007 Loop control variable `id` not used within loop body
pmxbot/phrases.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pmxbot/quotes.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pmxbot/rolls.py:5:1: I001 [*] Import block is un-sorted or un-formatted
pmxbot/slack.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pmxbot/slack.py:74:5: B019 Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
pmxbot/slack.py:158:5: B019 Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
pmxbot/slack.py:164:5: B019 Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
pmxbot/slack.py:170:5: B019 Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
pmxbot/stack.py:96:1: I001 [*] Import block is un-sorted or un-formatted
pmxbot/storage.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pmxbot/system.py:5:1: I001 [*] Import block is un-sorted or un-formatted
pmxbot/util.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pmxbot/util.py:14:5: B028 No explicit `stacklevel` keyword argument found
pmxbot/util.py:16:1: I001 [*] Import block is un-sorted or un-formatted
pmxbot/web/viewer.py:1:1: I001 [*] Import block is un-sorted or un-formatted
pmxbot/web/viewer.py:83:12: UP032 [*] Use f-string instead of `format` call
pmxbot/web/viewer.py:97:12: UP032 [*] Use f-string instead of `format` call
pmxbot/web/viewer.py:333:24: B006 Do not use mutable data structures for argument defaults
routines/dedup-karma.py:1:1: I001 [*] Import block is un-sorted or un-formatted
routines/rebuild-recent.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/functional/harness.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/functional/harness.py:140:13: B007 Loop control variable `x` not used within loop body
tests/unit/test_commands.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/unit/test_core.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/unit/test_stack.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 43 errors.
[*] 23 fixable with the `--fix` option (9 hidden fixes can be enabled with the `--unsafe-fixes` option).
/python/importlib_resources
importlib_resources/__init__.py:3:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/_common.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/_itertools.py:33:13: UP032 [*] Use f-string instead of `format` call
importlib_resources/abc.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/abc.py:18:39: UP019 [*] `typing.Text` is deprecated, use `str`
importlib_resources/abc.py:30:39: UP019 [*] `typing.Text` is deprecated, use `str`
importlib_resources/abc.py:30:48: UP019 [*] `typing.Text` is deprecated, use `str`
importlib_resources/abc.py:43:33: UP019 [*] `typing.Text` is deprecated, use `str`
importlib_resources/abc.py:122:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
importlib_resources/compat/py38.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/compat/py39.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/functional.py:3:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/future/adapters.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/readers.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/readers.py:45:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
importlib_resources/tests/_path.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/tests/test_compatibilty_files.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/tests/test_contents.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/tests/test_custom.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/tests/test_files.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/tests/test_functional.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/tests/test_functional.py:6:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/tests/test_functional.py:9:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/tests/test_open.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/tests/test_path.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/tests/test_read.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/tests/test_reader.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/tests/test_resource.py:1:1: I001 [*] Import block is un-sorted or un-formatted
importlib_resources/tests/util.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 29 errors.
[*] 27 fixable with the `--fix` option.
jaraco.classes
jaraco/classes/meta.py:46:24: B009 [*] Do not call `getattr` with a constant attribute value. It is not any safer than normal property access.
jaraco/classes/meta.py:79:14: UP008 Use `super()` instead of `super(__class__, self)`
Found 2 errors.
[*] 1 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
jaraco.github.io
warning: No Python files found under the given path(s)
All checks passed!
recapturedocs
configure-heroku.py:1:1: I001 [*] Import block is un-sorted or un-formatted
configure-heroku.py:62:12: UP032 [*] Use f-string instead of `format` call
recapturedocs/agency.py:1:1: I001 [*] Import block is un-sorted or un-formatted
recapturedocs/aws.py:1:1: I001 [*] Import block is un-sorted or un-formatted
recapturedocs/config.py:1:1: I001 [*] Import block is un-sorted or un-formatted
recapturedocs/dropbox.py:1:1: I001 [*] Import block is un-sorted or un-formatted
recapturedocs/jsonpickle.py:10:13: UP003 [*] Use `str` instead of `type(...)`
recapturedocs/jsonpickle.py:11:7: UP003 [*] Use `str` instead of `type(...)`
recapturedocs/model.py:1:1: I001 [*] Import block is un-sorted or un-formatted
recapturedocs/model.py:28:27: UP008 Use `super()` instead of `super(__class__, self)`
recapturedocs/model.py:39:9: UP031 Use format specifiers instead of percent format
recapturedocs/model.py:119:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
recapturedocs/persistence.py:1:1: I001 [*] Import block is un-sorted or un-formatted
recapturedocs/server.py:1:1: I001 [*] Import block is un-sorted or un-formatted
recapturedocs/server.py:457:14: UP008 Use `super()` instead of `super(__class__, self)`
tests/test_model.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_notification.py:1:8: UP026 [*] `mock` is deprecated, use `unittest.mock`
tests/test_persistence.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 18 errors.
[*] 14 fixable with the `--fix` option (3 hidden fixes can be enabled with the `--unsafe-fixes` option).
scicomm.pro
warning: No Python files found under the given path(s)
All checks passed!
jaraco.nxt
examples/locate-device.py:1:1: I001 [*] Import block is un-sorted or un-formatted
examples/read_input.py:5:1: I001 [*] Import block is un-sorted or un-formatted
examples/sync_motors.py:5:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/nxt/__init__.py:10:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/nxt/__init__.py:79:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/nxt/__init__.py:88:20: UP024 [*] Replace aliased errors with `OSError`
jaraco/nxt/__init__.py:97:20: UP024 [*] Replace aliased errors with `OSError`
jaraco/nxt/_enum.py:144:16: UP031 Use format specifiers instead of percent format
jaraco/nxt/controller.py:22:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/nxt/controller.py:55:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/nxt/messages.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/nxt/messages.py:468:36: UP031 Use format specifiers instead of percent format
jaraco/nxt/messages.py:566:36: UP031 Use format specifiers instead of percent format
jaraco/nxt/routine.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_parse_messages.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 15 errors.
[*] 10 fixable with the `--fix` option (3 hidden fixes can be enabled with the `--unsafe-fixes` option).
jaraco.util
jaraco/util/concurrency.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/util/concurrency.py:40:19: UP004 [*] Class `AtomicGuard` inherits from `object`
jaraco/util/dice.py:5:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/util/dice.py:17:12: UP004 [*] Class `Dice` inherits from `object`
jaraco/util/numbers.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/util/subprocess.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 6 errors.
[*] 6 fixable with the `--fix` option.
jaraco.vcs
jaraco/vcs/__init__.py:8:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/vcs/base.py:6:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/vcs/cmd.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/vcs/library.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/vcs/reentry.py:6:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/vcs/subprocess.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_git.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_managers.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_mercurial.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 10 errors.
[*] 10 fixable with the `--fix` option.
jaraco.collections
jaraco/collections/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/collections/__init__.py:202:44: B006 Do not use mutable data structures for argument defaults
jaraco/collections/__init__.py:294:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/collections/__init__.py:303:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/collections/__init__.py:307:21: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/collections/__init__.py:311:21: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/collections/__init__.py:315:21: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/collections/__init__.py:319:21: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/collections/__init__.py:323:21: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/collections/__init__.py:327:21: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/collections/__init__.py:337:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/collections/__init__.py:486:33: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/collections/__init__.py:680:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/collections/__init__.py:694:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/collections/__init__.py:695:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/collections/__init__.py:701:21: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/collections/__init__.py:705:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/collections/__init__.py:706:21: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/collections/__init__.py:772:21: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/collections/__init__.py:847:14: UP008 Use `super()` instead of `super(__class__, self)`
Found 20 errors.
[*] 1 fixable with the `--fix` option (18 hidden fixes can be enabled with the `--unsafe-fixes` option).
skeleton
All checks passed!
tidelift
All checks passed!
jaraco.pghfreethought
run.py:4:1: I001 [*] Import block is un-sorted or un-formatted
Found 1 error.
[*] 1 fixable with the `--fix` option.
jaraco.input
jaraco/input/__init__.py:7:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/input/linux2/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/input/linux2/joystick.py:7:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/input/win32/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/input/win32/xinput.py:6:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/input/win32/xinput.py:88:14: UP008 Use `super()` instead of `super(__class__, self)`
Found 6 errors.
[*] 5 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
jaraco.imaging
jaraco/imaging.py:5:1: I001 [*] Import block is un-sorted or un-formatted
Found 1 error.
[*] 1 fixable with the `--fix` option.
cssutils
warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `ruff.toml`:
- 'ignore' -> 'lint.ignore'
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/__init__.py:72:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/__init__.py:139:9: B028 No explicit `stacklevel` keyword argument found
cssutils/_fetch.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/_fetch.py:13:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/_fetch.py:19:21: UP011 [*] Unnecessary parentheses to `functools.lru_cache`
cssutils/_fetch.py:55:21: UP031 Use format specifiers instead of percent format
cssutils/_fetchgae.py:5:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/_fetchgae.py:60:21: UP031 Use format specifiers instead of percent format
cssutils/codec.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/__init__.py:60:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/csscharsetrule.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/csscharsetrule.py:60:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/csscharsetrule.py:65:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/csscomment.py:8:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/csscomment.py:34:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/csscomment.py:39:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssfontfacerule.py:8:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/cssfontfacerule.py:54:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssfontfacerule.py:60:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssimportrule.py:5:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/cssimportrule.py:77:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssimportrule.py:89:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssimportrule.py:335:21: UP031 Use format specifiers instead of percent format
cssutils/css/cssmediarule.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/cssmediarule.py:49:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssmediarule.py:55:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssmediarule.py:333:17: UP031 Use format specifiers instead of percent format
cssutils/css/cssnamespacerule.py:5:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/cssnamespacerule.py:92:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssnamespacerule.py:100:13: UP032 [*] Use f-string instead of `format` call
cssutils/css/csspagerule.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/csspagerule.py:95:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/csspagerule.py:178:33: UP031 Use format specifiers instead of percent format
cssutils/css/csspagerule.py:439:17: UP031 Use format specifiers instead of percent format
cssutils/css/cssproperties.py:51:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/cssrule.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/cssrule.py:81:17: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssrule.py:177:9: B015 Pointless comparison. Did you mean to assign a value? Otherwise, prepend `assert` or remove it.
cssutils/css/cssrule.py:219:21: UP031 Use format specifiers instead of percent format
cssutils/css/cssrule.py:229:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cssutils/css/cssrule.py:245:17: UP031 Use format specifiers instead of percent format
cssutils/css/cssstyledeclaration.py:54:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/cssstyledeclaration.py:210:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssstylerule.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/cssstylerule.py:58:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssstylerule.py:66:13: UP031 Use format specifiers instead of percent format
cssutils/css/cssstylesheet.py:12:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/cssstylesheet.py:80:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssstylesheet.py:93:13: UP031 Use format specifiers instead of percent format
cssutils/css/cssstylesheet.py:532:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cssutils/css/cssstylesheet.py:592:17: UP031 Use format specifiers instead of percent format
cssutils/css/cssunknownrule.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/cssunknownrule.py:34:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssunknownrule.py:39:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssvalue.py:10:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/cssvalue.py:69:13: UP031 Use format specifiers instead of percent format
cssutils/css/cssvalue.py:562:13: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssvalue.py:703:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cssutils/css/cssvalue.py:738:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cssutils/css/cssvalue.py:739:21: UP031 Use format specifiers instead of percent format
cssutils/css/cssvalue.py:782:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cssutils/css/cssvalue.py:792:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cssutils/css/cssvalue.py:793:21: UP031 Use format specifiers instead of percent format
cssutils/css/cssvalue.py:866:17: UP031 Use format specifiers instead of percent format
cssutils/css/cssvalue.py:958:13: UP031 Use format specifiers instead of percent format
cssutils/css/cssvalue.py:1138:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssvalue.py:1319:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssvariablesdeclaration.py:6:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/cssvariablesdeclaration.py:51:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssvariablesdeclaration.py:56:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssvariablesrule.py:6:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/cssvariablesrule.py:69:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/cssvariablesrule.py:77:13: UP031 Use format specifiers instead of percent format
cssutils/css/marginrule.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/marginrule.py:102:17: UP032 [*] Use f-string instead of `format` call
cssutils/css/marginrule.py:123:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/marginrule.py:130:16: UP031 Use format specifiers instead of percent format
cssutils/css/property.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/property.py:82:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/property.py:90:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/property.py:489:25: UP031 Use format specifiers instead of percent format
cssutils/css/property.py:504:25: UP031 Use format specifiers instead of percent format
cssutils/css/property.py:514:25: UP031 Use format specifiers instead of percent format
cssutils/css/selector.py:10:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/selector.py:133:13: UP031 Use format specifiers instead of percent format
cssutils/css/selectorlist.py:20:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/selectorlist.py:53:16: UP031 Use format specifiers instead of percent format
cssutils/css/value.py:18:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/css/value.py:77:16: UP031 Use format specifiers instead of percent format
cssutils/css/value.py:261:13: UP032 [*] Use f-string instead of `format` call
cssutils/css/value.py:333:13: UP031 Use format specifiers instead of percent format
cssutils/css/value.py:479:25: UP031 Use format specifiers instead of percent format
cssutils/css/value.py:548:13: UP031 Use format specifiers instead of percent format
cssutils/css/value.py:612:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/value.py:796:16: UP032 [*] Use f-string instead of `format` call
cssutils/css/value.py:879:16: UP032 [*] Use f-string instead of `format` call
cssutils/css2productions.py:129:5: B007 Loop control variable `i` not used within loop body
cssutils/cssproductions.py:113:5: B007 Loop control variable `i` not used within loop body
cssutils/errorhandler.py:18:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/helper.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/parse.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/prodparser.py:18:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/prodparser.py:121:16: UP032 [*] Use f-string instead of `format` call
cssutils/prodparser.py:241:16: UP032 [*] Use f-string instead of `format` call
cssutils/prodparser.py:339:12: B004 [*] Using `hasattr(x, "__call__")` to test if x is callable is unreliable. Use `callable(x)` for consistent results.
cssutils/prodparser.py:361:16: UP032 [*] Use f-string instead of `format` call
cssutils/sac.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/sac.py:129:13: UP031 Use format specifiers instead of percent format
cssutils/sac.py:140:13: UP031 Use format specifiers instead of percent format
cssutils/sac.py:292:29: UP031 Use format specifiers instead of percent format
cssutils/sac.py:312:29: UP031 Use format specifiers instead of percent format
cssutils/script.py:5:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/scripts/csscapture.py:11:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/scripts/csscapture.py:86:17: UP031 Use format specifiers instead of percent format
cssutils/scripts/csscombine.py:55:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/scripts/cssparse.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/serialize.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/serialize.py:697:21: UP031 Use format specifiers instead of percent format
cssutils/serialize.py:795:17: UP031 Use format specifiers instead of percent format
cssutils/settings.py:13:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/stylesheets/medialist.py:9:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/stylesheets/medialist.py:56:16: UP032 [*] Use f-string instead of `format` call
cssutils/stylesheets/medialist.py:62:16: UP032 [*] Use f-string instead of `format` call
cssutils/stylesheets/mediaquery.py:8:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/stylesheets/mediaquery.py:69:16: UP032 [*] Use f-string instead of `format` call
cssutils/stylesheets/mediaquery.py:75:16: UP032 [*] Use f-string instead of `format` call
cssutils/tests/basetest.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_codec.py:76:41: UP012 [*] Unnecessary call to `encode` as UTF-8
cssutils/tests/test_codec.py:77:41: UP012 [*] Unnecessary call to `encode` as UTF-8
cssutils/tests/test_codec.py:78:41: UP012 [*] Unnecessary call to `encode` as UTF-8
cssutils/tests/test_codec.py:79:41: UP012 [*] Unnecessary call to `encode` as UTF-8
cssutils/tests/test_codec.py:84:41: UP012 [*] Unnecessary call to `encode` as UTF-8
cssutils/tests/test_codec.py:85:41: UP012 [*] Unnecessary call to `encode` as UTF-8
cssutils/tests/test_codec.py:94:41: UP012 [*] Unnecessary call to `encode` as UTF-8
cssutils/tests/test_codec.py:95:41: UP012 [*] Unnecessary call to `encode` as UTF-8
cssutils/tests/test_codec.py:96:41: UP012 [*] Unnecessary call to `encode` as UTF-8
cssutils/tests/test_codec.py:97:41: UP012 [*] Unnecessary call to `encode` as UTF-8
cssutils/tests/test_codec.py:98:41: UP012 [*] Unnecessary call to `encode` as UTF-8
cssutils/tests/test_codec.py:99:41: UP012 [*] Unnecessary call to `encode` as UTF-8
cssutils/tests/test_csscharsetrule.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_csscomment.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_cssimportrule.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_cssnamespacerule.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_csspagerule.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_cssproperties.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_cssrule.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_cssrule.py:98:18: B007 Loop control variable `type_` not used within loop body
cssutils/tests/test_cssrule.py:103:18: B007 Loop control variable `type_` not used within loop body
cssutils/tests/test_cssrule.py:120:22: B007 Loop control variable `type_` not used within loop body
cssutils/tests/test_cssrule.py:127:22: B007 Loop control variable `type_` not used within loop body
cssutils/tests/test_cssrule.py:165:18: B007 Loop control variable `type_` not used within loop body
cssutils/tests/test_cssrule.py:170:18: B007 Loop control variable `type_` not used within loop body
cssutils/tests/test_cssrule.py:181:22: B007 Loop control variable `type_` not used within loop body
cssutils/tests/test_cssrule.py:188:22: B007 Loop control variable `type_` not used within loop body
cssutils/tests/test_cssrulelist.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_cssstyledeclaration.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_cssstylerule.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_cssstylesheet.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_cssstylesheet.py:84:13: B007 Loop control variable `i` not used within loop body
cssutils/tests/test_cssunknownrule.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_cssutils.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_cssvalue.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_cssvalue.py:71:13: B007 Loop control variable `i` not used within loop body
cssutils/tests/test_cssvariablesdeclaration.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_cssvariablesrule.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_domimplementation.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_errorhandler.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_marginrule.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_medialist.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_mediaquery.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_parse.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_parse.py:427:16: UP012 [*] Unnecessary call to `encode` as UTF-8
cssutils/tests/test_prodparser.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_prodparser.py:246:55: B026 Star-arg unpacking after a keyword argument is strongly discouraged
cssutils/tests/test_profiles.py:691:37: B007 Loop control variable `matching` not used within loop body
cssutils/tests/test_profiles.py:691:47: B007 Loop control variable `profile` not used within loop body
cssutils/tests/test_properties.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_property.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_scripts_csscombine.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_selector.py:9:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_selectorlist.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_serialize.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_util.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_value.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/tests/test_value.py:707:34: B007 Loop control variable `fallback` not used within loop body
cssutils/tokenize2.py:5:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/util.py:5:1: I001 [*] Import block is un-sorted or un-formatted
cssutils/util.py:487:37: UP031 Use format specifiers instead of percent format
cssutils/util.py:596:16: UP032 [*] Use f-string instead of `format` call
cssutils/util.py:699:16: UP032 [*] Use f-string instead of `format` call
cssutils/util.py:875:16: UP032 [*] Use f-string instead of `format` call
cssutils/util.py:902:16: UP032 [*] Use f-string instead of `format` call
encutils/__init__.py:53:1: I001 [*] Import block is un-sorted or un-formatted
encutils/__init__.py:150:16: UP032 [*] Use f-string instead of `format` call
encutils/__init__.py:653:13: UP031 Use format specifiers instead of percent format
encutils/__init__.py:664:13: UP031 Use format specifiers instead of percent format
encutils/__init__.py:675:13: UP031 Use format specifiers instead of percent format
examples/build.py:1:1: I001 [*] Import block is un-sorted or un-formatted
examples/codec.py:1:1: I001 [*] Import block is un-sorted or un-formatted
examples/customlog.py:1:1: I001 [*] Import block is un-sorted or un-formatted
examples/imports.py:1:1: I001 [*] Import block is un-sorted or un-formatted
examples/parse.py:1:1: I001 [*] Import block is un-sorted or un-formatted
examples/serialize.py:1:1: I001 [*] Import block is un-sorted or un-formatted
examples/style.py:9:1: I001 [*] Import block is un-sorted or un-formatted
examples/testutil.py:11:1: I001 [*] Import block is un-sorted or un-formatted
tools/try.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tools/try.py:132:5: B018 Found useless attribute access. Either assign it to a variable or remove it.
tools/try.py:743:29: UP032 [*] Use f-string instead of `format` call
Found 209 errors.
[*] 146 fixable with the `--fix` option (45 hidden fixes can be enabled with the `--unsafe-fixes` option).
singledispatch
singledispatch/__init__.py:175:1: I001 [*] Import block is un-sorted or un-formatted
test_singledispatch.py:1:1: I001 [*] Import block is un-sorted or un-formatted
test_singledispatch.py:64:20: UP032 [*] Use f-string instead of `format` call
test_singledispatch.py:148:13: B007 Loop control variable `haystack` not used within loop body
test_singledispatch.py:162:13: B007 Loop control variable `haystack` not used within loop body
test_singledispatch.py:317:17: UP004 [*] Class `C` inherits from `object`
test_singledispatch.py:320:17: UP004 [*] Class `D` inherits from `object`
test_singledispatch.py:531:1: I001 [*] Import block is un-sorted or un-formatted
test_singledispatch.py:536:22: UP008 Use `super()` instead of `super(__class__, self)`
Found 9 errors.
[*] 6 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
backports.hook_compressed
backports/hook_compressed.py:21:1: I001 [*] Import block is un-sorted or un-formatted
Found 1 error.
[*] 1 fixable with the `--fix` option.
librarypaste
librarypaste/__main__.py:1:1: UP010 [*] Unnecessary `__future__` import `absolute_import` for target Python version
librarypaste/__main__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
librarypaste/datastore.py:1:1: UP010 [*] Unnecessary `__future__` import `print_function` for target Python version
librarypaste/datastore.py:1:1: I001 [*] Import block is un-sorted or un-formatted
librarypaste/datastore.py:63:5: B027 `DataStore.__init__` is an empty method in an abstract base class, but has no abstract decorator
librarypaste/datastore.py:166:21: UP032 [*] Use f-string instead of `format` call
librarypaste/datastore.py:177:21: UP032 [*] Use f-string instead of `format` call
librarypaste/jsonstore.py:1:1: I001 [*] Import block is un-sorted or un-formatted
librarypaste/jsonstore.py:14:14: UP008 Use `super()` instead of `super(__class__, self)`
librarypaste/jsonstore.py:29:19: UP031 Use format specifiers instead of percent format
librarypaste/jsonstore.py:37:21: UP031 Use format specifiers instead of percent format
librarypaste/launch.py:1:1: I001 [*] Import block is un-sorted or un-formatted
librarypaste/mongostore.py:1:1: I001 [*] Import block is un-sorted or un-formatted
librarypaste/pastebin.py:1:1: I001 [*] Import block is un-sorted or un-formatted
librarypaste/pastebin.py:19:19: UP004 [*] Class `LexerSorter` inherits from `object`
librarypaste/pastebin.py:35:14: UP004 [*] Class `Server` inherits from `object`
librarypaste/pastebin.py:119:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
librarypaste/pastebin.py:149:22: UP031 Use format specifiers instead of percent format
librarypaste/pmxbot.py:1:1: I001 [*] Import block is un-sorted or un-formatted
librarypaste/tests/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
librarypaste/tests/__init__.py:6:21: UP004 [*] Class `DataStoreTest` inherits from `object`
librarypaste/tests/test_jsonstore.py:1:1: I001 [*] Import block is un-sorted or un-formatted
librarypaste/tests/test_mongostore.py:1:1: I001 [*] Import block is un-sorted or un-formatted
uptests/web/responding.py:3:1: I001 [*] Import block is un-sorted or un-formatted
Found 24 errors.
[*] 18 fixable with the `--fix` option (4 hidden fixes can be enabled with the `--unsafe-fixes` option).
keyrings.alt
keyrings/alt/Gnome.py:9:1: I001 [*] Import block is un-sorted or un-formatted
keyrings/alt/Gnome.py:83:13: UP031 Use format specifiers instead of percent format
keyrings/alt/Google.py:1:1: UP010 [*] Unnecessary `__future__` import `absolute_import` for target Python version
keyrings/alt/Google.py:1:1: I001 [*] Import block is un-sorted or un-formatted
keyrings/alt/Google.py:16:1: I001 [*] Import block is un-sorted or un-formatted
keyrings/alt/Google.py:29:14: UP008 Use `super()` instead of `super(__class__, self)`
keyrings/alt/Google.py:85:13: B018 Found useless expression. Either assign it to a variable or remove it.
keyrings/alt/Google.py:132:21: UP031 Use format specifiers instead of percent format
keyrings/alt/Google.py:163:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
keyrings/alt/Google.py:165:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
keyrings/alt/Google.py:193:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
keyrings/alt/Google.py:224:21: UP031 Use format specifiers instead of percent format
keyrings/alt/Google.py:245:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
keyrings/alt/Google.py:249:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
keyrings/alt/Google.py:329:14: UP008 Use `super()` instead of `super(__class__, self)`
keyrings/alt/Google.py:340:25: UP008 Use `super()` instead of `super(__class__, self)`
keyrings/alt/Windows.py:1:1: I001 [*] Import block is un-sorted or un-formatted
keyrings/alt/Windows.py:29:9: B018 Found useless expression. Either assign it to a variable or remove it.
keyrings/alt/Windows.py:95:16: UP024 [*] Replace aliased errors with `OSError`
keyrings/alt/Windows.py:122:16: UP024 [*] Replace aliased errors with `OSError`
keyrings/alt/Windows.py:124:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
keyrings/alt/Windows.py:135:16: UP024 [*] Replace aliased errors with `OSError`
keyrings/alt/_win_crypto.py:1:1: UP010 [*] Unnecessary `__future__` import `unicode_literals` for target Python version
keyrings/alt/_win_crypto.py:1:1: I001 [*] Import block is un-sorted or un-formatted
keyrings/alt/_win_crypto.py:19:5: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
keyrings/alt/escape.py:11:8: B009 [*] Do not call `getattr` with a constant attribute value. It is not any safer than normal property access.
keyrings/alt/file.py:1:1: UP010 [*] Unnecessary `__future__` import `with_statement` for target Python version
keyrings/alt/file.py:1:1: I001 [*] Import block is un-sorted or un-formatted
keyrings/alt/file.py:49:1: I001 [*] Import block is un-sorted or un-formatted
keyrings/alt/file.py:53:1: I001 [*] Import block is un-sorted or un-formatted
keyrings/alt/file.py:83:17: UP012 [*] Unnecessary call to `encode` as UTF-8
keyrings/alt/file.py:91:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
keyrings/alt/file.py:152:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
keyrings/alt/file.py:160:17: UP031 Use format specifiers instead of percent format
keyrings/alt/file.py:192:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
keyrings/alt/file_base.py:1:1: UP010 [*] Unnecessary `__future__` import `with_statement` for target Python version
keyrings/alt/file_base.py:1:1: I001 [*] Import block is un-sorted or un-formatted
keyrings/alt/file_base.py:182:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
keyrings/alt/keyczar.py:1:1: UP010 [*] Unnecessary `__future__` import `absolute_import` for target Python version
keyrings/alt/keyczar.py:1:1: I001 [*] Import block is un-sorted or un-formatted
keyrings/alt/keyczar.py:17:9: B018 Found useless expression. Either assign it to a variable or remove it.
keyrings/alt/multi.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/mocks.py:174:14: UP008 Use `super()` instead of `super(__class__, self)`
tests/test_Gnome.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_Google.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_Google.py:72:13: B018 Found useless expression. Either assign it to a variable or remove it.
tests/test_Google.py:81:13: B018 Found useless expression. Either assign it to a variable or remove it.
tests/test_Google.py:98:9: B018 Found useless expression. Either assign it to a variable or remove it.
tests/test_Windows.py:1:1: UP010 [*] Unnecessary `__future__` import `print_function` for target Python version
tests/test_Windows.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_crypto.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_file.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_file.py:60:42: UP012 [*] Unnecessary call to `encode` as UTF-8
tests/test_keyczar.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_keyczar.py:70:13: B018 Found useless expression. Either assign it to a variable or remove it.
tests/test_multi.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_multi.py:28:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Found 57 errors.
[*] 30 fixable with the `--fix` option (8 hidden fixes can be enabled with the `--unsafe-fixes` option).
jaraco.logging
jaraco/logging.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/logging.py:32:54: B009 [*] Do not call `getattr` with a constant attribute value. It is not any safer than normal property access.
Found 2 errors.
[*] 2 fixable with the `--fix` option.
/cherrypy/cheroot
bin/pip_constraint_helpers.py:59:18: UP032 [*] Use f-string instead of `format` call
cheroot/_compat.py:4:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/_compat.pyi:3:27: UP006 Use `type` instead of `Type` for type annotation
cheroot/_compat.pyi:5:21: UP007 Use `X | Y` for type annotations
cheroot/_compat.pyi:22:23: UP007 Use `X | Y` for type annotations
cheroot/cli.py:30:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/cli.py:72:26: UP032 [*] Use f-string instead of `format` call
cheroot/cli.py:143:9: UP032 [*] Use f-string instead of `format` call
cheroot/connections.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/connections.py:19:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/errors.py:1:1: UP009 [*] UTF-8 encoding declaration is unnecessary
cheroot/errors.pyi:7:45: UP006 Use `list` instead of `List` for type annotation
cheroot/errors.pyi:9:21: UP006 Use `list` instead of `List` for type annotation
cheroot/errors.pyi:10:26: UP006 Use `list` instead of `List` for type annotation
cheroot/errors.pyi:11:28: UP006 Use `list` instead of `List` for type annotation
cheroot/errors.pyi:12:39: UP006 Use `set` instead of `Set` for type annotation
cheroot/errors.pyi:13:38: UP006 Use `tuple` instead of `Tuple` for type annotation
cheroot/errors.pyi:13:44: UP006 Use `type` instead of `Type` for type annotation
cheroot/makefile.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/server.py:68:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/server.py:223:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cheroot/server.py:251:21: UP008 Use `super()` instead of `super(__class__, self)`
cheroot/server.py:481:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cheroot/server.py:482:17: UP032 [*] Use f-string instead of `format` call
cheroot/server.py:493:19: UP024 [*] Replace aliased errors with `OSError`
cheroot/server.py:621:23: UP024 [*] Replace aliased errors with `OSError`
cheroot/server.py:964:34: UP031 Use format specifiers instead of percent format
cheroot/server.py:1059:20: UP024 [*] Replace aliased errors with `OSError`
cheroot/server.py:1090:24: UP031 Use format specifiers instead of percent format
cheroot/server.py:1120:16: UP024 [*] Replace aliased errors with `OSError`
cheroot/server.py:1189:17: UP025 [*] Remove unicode literals from strings
cheroot/server.py:1189:17: UP032 [*] Use f-string instead of `format` call
cheroot/server.py:1294:16: UP024 [*] Replace aliased errors with `OSError`
cheroot/server.py:1408:16: UP024 [*] Replace aliased errors with `OSError`
cheroot/server.py:1487:16: UP024 [*] Replace aliased errors with `OSError`
cheroot/server.py:1536:15: UP032 [*] Use f-string instead of `format` call
cheroot/server.py:1674:16: UP031 Use format specifiers instead of percent format
cheroot/server.py:1764:20: UP024 [*] Replace aliased errors with `OSError`
cheroot/server.py:1765:23: UP031 Use format specifiers instead of percent format
cheroot/server.py:1766:23: UP024 [*] Replace aliased errors with `OSError`
cheroot/server.py:1792:24: UP024 [*] Replace aliased errors with `OSError`
cheroot/server.py:1793:27: UP031 Use format specifiers instead of percent format
cheroot/server.py:1799:19: UP024 [*] Replace aliased errors with `OSError`
cheroot/server.py:1881:26: UP032 [*] Use f-string instead of `format` call
cheroot/server.py:1956:16: UP024 [*] Replace aliased errors with `OSError`
cheroot/server.py:2055:20: UP024 [*] Replace aliased errors with `OSError`
cheroot/server.py:2146:24: UP024 [*] Replace aliased errors with `OSError`
cheroot/server.py:2171:32: UP024 [*] Replace aliased errors with `OSError`
cheroot/server.py:2226:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cheroot/server.py:2227:17: UP031 Use format specifiers instead of percent format
cheroot/ssl/__init__.pyi:1:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/ssl/builtin.py:28:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/ssl/builtin.py:208:14: UP008 Use `super()` instead of `super(__class__, self)`
cheroot/ssl/builtin.py:227:14: UP015 [*] Unnecessary open mode parameters
cheroot/ssl/builtin.py:261:21: UP008 Use `super()` instead of `super(__class__, self)`
cheroot/ssl/builtin.py:306:38: UP031 Use format specifiers instead of percent format
cheroot/ssl/builtin.py:369:19: UP031 Use format specifiers instead of percent format
cheroot/ssl/builtin.py:384:17: UP031 Use format specifiers instead of percent format
cheroot/ssl/builtin.py:428:27: UP031 Use format specifiers instead of percent format
cheroot/ssl/builtin.py:438:17: UP031 Use format specifiers instead of percent format
cheroot/ssl/builtin.pyi:1:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/ssl/pyopenssl.py:59:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/ssl/pyopenssl.py:70:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/ssl/pyopenssl.py:108:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cheroot/ssl/pyopenssl.py:108:23: UP024 [*] Replace aliased errors with `OSError`
cheroot/ssl/pyopenssl.py:121:21: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cheroot/ssl/pyopenssl.py:123:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
cheroot/ssl/pyopenssl.py:132:18: UP008 Use `super()` instead of `super(__class__, self)`
cheroot/ssl/pyopenssl.py:144:18: UP008 Use `super()` instead of `super(__class__, self)`
cheroot/ssl/pyopenssl.py:152:18: UP008 Use `super()` instead of `super(__class__, self)`
cheroot/ssl/pyopenssl.py:160:18: UP008 Use `super()` instead of `super(__class__, self)`
cheroot/ssl/pyopenssl.py:274:14: UP008 Use `super()` instead of `super(__class__, self)`
cheroot/ssl/pyopenssl.py:313:38: UP031 Use format specifiers instead of percent format
cheroot/ssl/pyopenssl.py:359:35: UP031 Use format specifiers instead of percent format
cheroot/ssl/pyopenssl.pyi:1:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/ssl/pyopenssl.pyi:6:16: UP006 Use `type` instead of `Type` for type annotation
cheroot/test/_pytest_plugin.py:7:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/test/conftest.py:7:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/test/helper.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/test/helper.py:106:17: UP031 Use format specifiers instead of percent format
cheroot/test/test__compat.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/test/test__compat.py:12:23: UP025 [*] Remove unicode literals from strings
cheroot/test/test__compat.py:37:16: UP025 [*] Remove unicode literals from strings
cheroot/test/test__compat.py:61:23: UP025 [*] Remove unicode literals from strings
cheroot/test/test_conn.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/test/test_conn.py:171:25: B007 Loop control variable `c_traceback` may not be used within loop body
cheroot/test/test_conn.py:775:12: UP024 [*] Replace aliased errors with `OSError`
cheroot/test/test_conn.py:805:12: UP024 [*] Replace aliased errors with `OSError`
cheroot/test/test_conn.py:1074:27: UP031 Use format specifiers instead of percent format
cheroot/test/test_conn.py:1191:9: UP031 Use format specifiers instead of percent format
cheroot/test/test_core.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/test/test_core.py:136:9: UP030 Use implicit references for positional format fields
cheroot/test/test_core.py:183:15: UP025 [*] Remove unicode literals from strings
cheroot/test/test_core.py:183:15: UP012 [*] Unnecessary UTF-8 `encoding` argument to `encode`
cheroot/test/test_core.py:403:12: UP024 [*] Replace aliased errors with `OSError`
cheroot/test/test_dispatch.py:32:17: UP025 [*] Remove unicode literals from strings
cheroot/test/test_dispatch.py:32:17: UP012 [*] Unnecessary call to `encode` as UTF-8
cheroot/test/test_server.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/test/test_server.py:56:13: UP032 [*] Use f-string instead of `format` call
cheroot/test/test_server.py:130:21: UP032 [*] Use f-string instead of `format` call
cheroot/test/test_server.py:239:21: UP008 Use `super()` instead of `super(__class__, self)`
cheroot/test/test_ssl.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/test/test_ssl.py:89:21: UP008 Use `super()` instead of `super(__class__, self)`
cheroot/test/test_ssl.py:224:9: UP032 [*] Use f-string instead of `format` call
cheroot/test/test_ssl.py:315:13: UP032 [*] Use f-string instead of `format` call
cheroot/test/test_ssl.py:537:18: UP015 [*] Unnecessary open mode parameters
cheroot/test/test_ssl.py:594:13: UP032 [*] Use f-string instead of `format` call
cheroot/test/test_ssl.py:660:9: UP034 [*] Avoid extraneous parentheses
cheroot/test/test_ssl.py:666:13: UP032 [*] Use f-string instead of `format` call
cheroot/test/test_ssl.py:678:13: UP032 [*] Use f-string instead of `format` call
cheroot/test/test_wsgi.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/test/webtest.py:18:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/test/webtest.py:67:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/test/webtest.py:125:20: UP032 [*] Use f-string instead of `format` call
cheroot/test/webtest.py:241:13: B028 No explicit `stacklevel` keyword argument found
cheroot/test/webtest.py:266:34: UP003 [*] Use `str` instead of `type(...)`
cheroot/test/webtest.py:337:23: UP031 Use format specifiers instead of percent format
cheroot/test/webtest.py:350:19: UP031 Use format specifiers instead of percent format
cheroot/test/webtest.py:361:19: UP031 Use format specifiers instead of percent format
cheroot/test/webtest.py:380:23: UP031 Use format specifiers instead of percent format
cheroot/test/webtest.py:389:23: UP031 Use format specifiers instead of percent format
cheroot/test/webtest.py:400:23: UP031 Use format specifiers instead of percent format
cheroot/test/webtest.py:441:37: UP031 Use format specifiers instead of percent format
cheroot/test/webtest.py:446:16: B007 Loop control variable `v` not used within loop body
cheroot/test/webtest.py:461:24: UP031 Use format specifiers instead of percent format
cheroot/testing.py:3:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/testing.py:110:16: UP032 [*] Use f-string instead of `format` call
cheroot/testing.pyi:9:15: UP007 Use `X | Y` for type annotations
cheroot/workers/threadpool.py:8:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/workers/threadpool.py:253:13: UP032 [*] Use f-string instead of `format` call
cheroot/workers/threadpool.py:302:13: B007 Loop control variable `worker` not used within loop body
cheroot/wsgi.py:28:1: I001 [*] Import block is un-sorted or un-formatted
cheroot/wsgi.py:67:14: UP008 Use `super()` instead of `super(__class__, self)`
cheroot/wsgi.py:104:14: UP008 Use `super()` instead of `super(__class__, self)`
cheroot/wsgi.py:326:23: UP008 Use `super()` instead of `super(__class__, self)`
cheroot/wsgi.py:390:32: UP032 [*] Use f-string instead of `format` call
cheroot/wsgi.pyi:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/conf.py:6:1: I001 [*] Import block is un-sorted or un-formatted
docs/scm_tag_titles_ext.py:6:1: I001 [*] Import block is un-sorted or un-formatted
Found 139 errors.
[*] 79 fixable with the `--fix` option (51 hidden fixes can be enabled with the `--unsafe-fixes` option).
inflect
inflect/__init__.py:55:1: I001 [*] Import block is un-sorted or un-formatted
inflect/__init__.py:2129:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
inflect/__init__.py:2199:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
inflect/__init__.py:3009:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
inflect/__init__.py:3175:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
inflect/compat/pydantic.py:18:16: B009 [*] Do not call `getattr` with a constant attribute value. It is not any safer than normal property access.
tests/test_inflections.py:84:48: UP032 [*] Use f-string instead of `format` call
tests/test_pwd.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_pwd.py:266:38: UP032 [*] Use f-string instead of `format` call
tests/test_pwd.py:294:14: B017 `pytest.raises(Exception)` should be considered evil
tests/test_pwd.py:613:45: UP032 [*] Use f-string instead of `format` call
tests/test_pwd.py:697:14: B017 `pytest.raises(Exception)` should be considered evil
tests/test_pwd.py:820:14: B017 `pytest.raises(Exception)` should be considered evil
tests/test_pwd.py:975:9: B015 Pointless comparison. Did you mean to assign a value? Otherwise, prepend `assert` or remove it.
tests/test_pwd.py:997:22: B007 Loop control variable `wrongword` not used within loop body
tests/test_pwd.py:1228:13: B018 Found useless expression. Either assign it to a variable or remove it.
Found 16 errors.
[*] 6 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
jaraco.financial
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/financial/apple-card-rename.py:27:14: B008 Do not perform function call `path.Path` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
jaraco/financial/lifo.py:5:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/financial/lifo.py:82:44: B008 Do not perform function call `csv.DictReader` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
jaraco/financial/lifo.py:83:42: B008 Do not perform function call `DictWriter` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
jaraco/financial/msmoney.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/financial/ofx.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/financial/ofx.py:413:13: B028 No explicit `stacklevel` keyword argument found
jaraco/financial/ofx.py:455:13: UP032 [*] Use f-string instead of `format` call
jaraco/financial/ofx.py:460:22: UP031 Use format specifiers instead of percent format
jaraco/financial/paychex.py:11:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/financial/qif.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/financial/records.py:1:1: I001 [*] Import block is un-sorted or un-formatted
scripts/get-deductions.py:4:1: I001 [*] Import block is un-sorted or un-formatted
scripts/get-deductions.py:72:9: B007 Loop control variable `year` may not be used within loop body
Found 15 errors.
[*] 9 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
configparser
backports/configparser/__init__.py:142:1: I001 [*] Import block is un-sorted or un-formatted
backports/configparser/__init__.py:200:30: UP031 Use format specifiers instead of percent format
backports/configparser/__init__.py:218:32: UP030 Use implicit references for positional format fields
backports/configparser/__init__.py:218:32: UP032 [*] Use f-string instead of `format` call
backports/configparser/__init__.py:243:32: UP030 Use implicit references for positional format fields
backports/configparser/__init__.py:243:32: UP032 [*] Use f-string instead of `format` call
backports/configparser/__init__.py:261:30: UP031 Use format specifiers instead of percent format
backports/configparser/__init__.py:282:13: UP032 [*] Use f-string instead of `format` call
backports/configparser/__init__.py:304:13: UP032 [*] Use f-string instead of `format` call
backports/configparser/__init__.py:441:21: UP031 Use format specifiers instead of percent format
backports/configparser/__init__.py:507:46: UP031 Use format specifiers instead of percent format
backports/configparser/__init__.py:529:21: UP031 Use format specifiers instead of percent format
backports/configparser/__init__.py:824:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
backports/configparser/__init__.py:886:25: UP008 Use `super()` instead of `super(__class__, self)`
backports/configparser/__init__.py:892:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
backports/configparser/__init__.py:961:17: UP032 [*] Use f-string instead of `format` call
backports/configparser/__init__.py:971:18: UP032 [*] Use f-string instead of `format` call
backports/configparser/__init__.py:978:22: UP032 [*] Use f-string instead of `format` call
backports/configparser/__init__.py:1195:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
backports/configparser/__init__.py:1282:16: UP032 [*] Use f-string instead of `format` call
backports/configparser/__init__.py:1367:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
backports/configparser/__init__.py:1368:17: UP032 [*] Use f-string instead of `format` call
backports/configparser/__init__.py:1384:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
backports/configparser/compat.py:1:1: I001 [*] Import block is un-sorted or un-formatted
configparser/__init__.py:3:1: I001 [*] Import block is un-sorted or un-formatted
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/compat.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_backport.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_configparser.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tests/test_configparser.py:304:25: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:343:25: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:353:25: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:364:21: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:374:21: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:466:13: UP030 Use implicit references for positional format fields
tests/test_configparser.py:466:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:475:13: UP030 Use implicit references for positional format fields
tests/test_configparser.py:475:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:512:13: UP030 Use implicit references for positional format fields
tests/test_configparser.py:512:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:521:13: UP030 Use implicit references for positional format fields
tests/test_configparser.py:521:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:545:13: UP030 Use implicit references for positional format fields
tests/test_configparser.py:545:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:550:13: UP030 Use implicit references for positional format fields
tests/test_configparser.py:550:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:614:23: UP031 Use format specifiers instead of percent format
tests/test_configparser.py:618:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:646:34: UP030 Use implicit references for positional format fields
tests/test_configparser.py:653:25: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:667:17: UP030 Use implicit references for positional format fields
tests/test_configparser.py:677:17: UP030 Use implicit references for positional format fields
tests/test_configparser.py:684:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:710:29: UP030 Use implicit references for positional format fields
tests/test_configparser.py:710:29: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:712:17: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:733:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:803:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:831:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:847:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:879:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:923:13: UP030 Use implicit references for positional format fields
tests/test_configparser.py:923:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:1000:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:1015:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:1032:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:1105:13: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:1151:17: UP030 Use implicit references for positional format fields
tests/test_configparser.py:1151:17: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:1154:27: UP032 [*] Use f-string instead of `format` call
tests/test_configparser.py:1735:13: UP030 Use implicit references for positional format fields
tests/test_configparser.py:1768:13: UP030 Use implicit references for positional format fields
tests/test_configparser.py:1774:13: UP030 Use implicit references for positional format fields
Found 73 errors.
[*] 44 fixable with the `--fix` option (24 hidden fixes can be enabled with the `--unsafe-fixes` option).
jaraco.site
fabfile.py:8:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/site/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/site/__init__.py:24:21: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/site/__init__.py:29:21: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/site/charts.py:7:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/site/controllers.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/site/landing.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/site/openid.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/site/openid.py:8:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/site/openid.py:21:27: UP030 Use implicit references for positional format fields
jaraco/site/openid.py:21:27: UP032 [*] Use f-string instead of `format` call
jaraco/site/resume.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/site/run.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 13 errors.
[*] 10 fixable with the `--fix` option (3 hidden fixes can be enabled with the `--unsafe-fixes` option).
irc
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
irc/bot.py:8:1: I001 [*] Import block is un-sorted or un-formatted
irc/bot.py:155:15: B008 Do not perform function call `ExponentialBackoff` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
irc/client.py:48:1: I001 [*] Import block is un-sorted or un-formatted
irc/client.py:145:25: B008 Do not perform function call `connection.Factory` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
irc/client.py:192:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
irc/client.py:247:29: UP032 [*] Use f-string instead of `format` call
irc/client.py:1048:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
irc/client.py:1073:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
irc/client.py:1257:9: B028 No explicit `stacklevel` keyword argument found
irc/client.py:1265:9: B028 No explicit `stacklevel` keyword argument found
irc/client_aio.py:40:1: I001 [*] Import block is un-sorted or un-formatted
irc/client_aio.py:116:25: B008 Do not perform function call `connection.AioFactory` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
irc/message.py:1:1: I001 [*] Import block is un-sorted or un-formatted
irc/server.py:45:1: I001 [*] Import block is un-sorted or un-formatted
irc/server.py:149:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
irc/server.py:163:23: UP032 [*] Use f-string instead of `format` call
irc/server.py:177:24: UP032 [*] Use f-string instead of `format` call
irc/server.py:180:24: UP032 [*] Use f-string instead of `format` call
irc/server.py:193:17: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
irc/server.py:228:24: UP032 [*] Use f-string instead of `format` call
irc/server.py:236:19: UP032 [*] Use f-string instead of `format` call
irc/server.py:297:29: UP032 [*] Use f-string instead of `format` call
irc/server.py:306:29: UP032 [*] Use f-string instead of `format` call
irc/server.py:312:33: UP031 Use format specifiers instead of percent format
irc/server.py:316:24: UP031 Use format specifiers instead of percent format
irc/server.py:339:19: UP032 [*] Use f-string instead of `format` call
irc/server.py:388:19: UP032 [*] Use f-string instead of `format` call
irc/server.py:404:28: UP032 [*] Use f-string instead of `format` call
irc/server.py:412:28: UP031 Use format specifiers instead of percent format
irc/server.py:443:20: UP032 [*] Use f-string instead of `format` call
irc/server.py:445:24: UP032 [*] Use f-string instead of `format` call
irc/server.py:488:16: UP032 [*] Use f-string instead of `format` call
irc/server.py:552:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
irc/tests/test_bot.py:1:1: I001 [*] Import block is un-sorted or un-formatted
irc/tests/test_bot.py:139:13: B007 Loop control variable `x` not used within loop body
irc/tests/test_client_aio.py:1:1: I001 [*] Import block is un-sorted or un-formatted
scripts/dccreceive.py:11:1: I001 [*] Import block is un-sorted or un-formatted
scripts/dccsend.py:10:1: I001 [*] Import block is un-sorted or un-formatted
scripts/irccat-aio.py:8:1: I001 [*] Import block is un-sorted or un-formatted
scripts/irccat-aio.py:79:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
scripts/irccat-aio.py:81:12: B025 try-except block with duplicate exception `irc.client.ServerConnectionError`
scripts/irccat-aio.py:83:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
scripts/irccat.py:10:1: I001 [*] Import block is un-sorted or un-formatted
scripts/irccat.py:70:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
scripts/irccat2-aio.py:7:1: I001 [*] Import block is un-sorted or un-formatted
scripts/irccat2.py:10:1: I001 [*] Import block is un-sorted or un-formatted
scripts/servermap.py:75:29: B007 Loop control variable `desc` not used within loop body
scripts/ssl-cat.py:10:1: I001 [*] Import block is un-sorted or un-formatted
scripts/ssl-cat.py:71:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Found 50 errors.
[*] 29 fixable with the `--fix` option (5 hidden fixes can be enabled with the `--unsafe-fixes` option).
jaraco.structures
All checks passed!
jaraco.versioning
jaraco/versioning.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 1 error.
[*] 1 fixable with the `--fix` option.
jaraco.windows
bugs/environ-api-wierdness.py:1:1: I001 [*] Import block is un-sorted or un-formatted
bugs/environ-api-wierdness.py:20:5: B018 Found useless expression. Either assign it to a variable or remove it.
bugs/multi_os_libc.py:9:16: UP024 [*] Replace aliased errors with `OSError`
bugs/vista-symlink-islink-bug.py:8:1: I001 [*] Import block is un-sorted or un-formatted
bugs/wnetaddconnection2-error-on-64-bit.py:2:1: I001 [*] Import block is un-sorted or un-formatted
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
incubator/trace-symlink.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/api/credential.py:5:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/api/event.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/api/inet.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/api/inet.py:47:20: UP030 Use implicit references for positional format fields
jaraco/windows/api/inet.py:47:20: UP032 [*] Use f-string instead of `format` call
jaraco/windows/api/inet.py:49:20: UP030 Use implicit references for positional format fields
jaraco/windows/api/inet.py:49:20: UP032 [*] Use f-string instead of `format` call
jaraco/windows/api/message.py:7:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/api/security.py:123:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/windows/batch.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/clipboard.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/clipboard.py:79:19: UP004 [*] Class `HTMLSnippet` inherits from `object`
jaraco/windows/cred.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/dpapi.py:12:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/dpapi.py:36:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/windows/environ.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/environ.py:31:29: UP004 [*] Class `RegisteredEnvironment` inherits from `object`
jaraco/windows/environ.py:38:26: B007 Loop control variable `type` not used within loop body
jaraco/windows/environ.py:48:16: UP024 [*] Replace aliased errors with `OSError`
jaraco/windows/environ.py:51:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/windows/environ.py:145:12: UP024 [*] Replace aliased errors with `OSError`
jaraco/windows/error.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/eventlog.py:10:16: UP004 [*] Class `EventLog` inherits from `object`
jaraco/windows/eventlog.py:38:17: UP028 Replace `yield` over `for` loop with `yield from`
jaraco/windows/filesystem/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/filesystem/__init__.py:47:22: UP031 Use format specifiers instead of percent format
jaraco/windows/filesystem/__init__.py:267:12: UP025 [*] Remove unicode literals from strings
jaraco/windows/filesystem/__init__.py:267:32: UP025 [*] Remove unicode literals from strings
jaraco/windows/filesystem/__init__.py:278:54: B006 Do not use mutable data structures for argument defaults
jaraco/windows/filesystem/change.py:8:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/filesystem/change.py:29:18: UP004 [*] Class `FileFilter` inherits from `object`
jaraco/windows/filesystem/change.py:77:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/windows/filesystem/change.py:130:16: UP004 [*] Class `Notifier` inherits from `object`
jaraco/windows/filesystem/change.py:131:42: B006 Do not use mutable data structures for argument defaults
jaraco/windows/filesystem/change.py:203:13: UP028 Replace `yield` over `for` loop with `yield from`
jaraco/windows/filesystem/change.py:230:42: B006 Do not use mutable data structures for argument defaults
jaraco/windows/filesystem/change.py:248:21: UP004 [*] Class `StreamHandler` inherits from `object`
jaraco/windows/inet.py:6:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/inet.py:30:22: UP004 [*] Class `AllocatedTable` inherits from `object`
jaraco/windows/inet.py:99:22: UP004 [*] Class `AddressManager` inherits from `object`
jaraco/windows/memory.py:7:20: UP004 [*] Class `LockedMemory` inherits from `object`
jaraco/windows/mmap.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/mmap.py:7:17: UP004 [*] Class `MemoryMap` inherits from `object`
jaraco/windows/msie.py:6:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/msie.py:10:21: UP004 [*] Class `CookieMonster` inherits from `object`
jaraco/windows/msvc.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/power.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/power.py:11:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/privilege.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/privilege.py:72:11: UP030 Use implicit references for positional format fields
jaraco/windows/privilege.py:72:11: UP032 [*] Use f-string instead of `format` call
jaraco/windows/privilege.py:140:11: UP030 Use implicit references for positional format fields
jaraco/windows/privilege.py:140:11: UP032 [*] Use f-string instead of `format` call
jaraco/windows/registry.py:9:16: UP024 [*] Replace aliased errors with `OSError`
jaraco/windows/registry.py:17:16: UP024 [*] Replace aliased errors with `OSError`
jaraco/windows/reparse.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/security.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/services.py:16:15: UP004 [*] Class `Service` inherits from `object`
jaraco/windows/timers.py:6:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/timezone.py:3:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/timezone.py:12:15: UP004 [*] Class `AnyDict` inherits from `object`
jaraco/windows/timezone.py:88:27: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/windows/timezone.py:96:14: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/windows/timezone.py:120:18: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/windows/timezone.py:143:25: B007 Loop control variable `type` not used within loop body
jaraco/windows/timezone.py:160:22: UP008 Use `super()` instead of `super(__class__, self)`
jaraco/windows/ui.py:3:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/user.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/util.py:14:16: UP004 [*] Class `Extended` inherits from `object`
jaraco/windows/vpn.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/vpn.py:19:19: UP032 [*] Use f-string instead of `format` call
jaraco/windows/xmouse.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/windows/xmouse.py:56:15: UP032 [*] Use f-string instead of `format` call
jaraco/windows/xmouse.py:82:15: UP031 Use format specifiers instead of percent format
scripts/watch-changes.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 82 errors.
[*] 60 fixable with the `--fix` option (20 hidden fixes can be enabled with the `--unsafe-fixes` option).
/pmxbot/pmxbot.nsfw
All checks passed!
jaraco.pmxbot
jaraco/pmxbot/notification.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/pmxbot/notification.py:25:12: UP032 [*] Use f-string instead of `format` call
tests/test_notification.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 3 errors.
[*] 3 fixable with the `--fix` option.
wolframalpha
tests/test_client.py:57:10: B017 `pytest.raises(Exception)` should be considered evil
tests/test_client.py:83:13: B018 Found useless expression. Either assign it to a variable or remove it.
wolframalpha/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
wolframalpha/__init__.py:133:14: UP008 Use `super()` instead of `super(__class__, self)`
wolframalpha/__init__.py:186:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
Found 5 errors.
[*] 1 fixable with the `--fix` option (1 hidden fix can be enabled with the `--unsafe-fixes` option).
/pmxbot/excuses
excuses/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 1 error.
[*] 1 fixable with the `--fix` option.
jaraco.media
jaraco/media/cropdetect.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/media/cropdetect.py:13:12: UP024 [*] Replace aliased errors with `OSError`
jaraco/media/cropdetect.py:68:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/media/cropdetect.py:71:23: UP031 Use format specifiers instead of percent format
jaraco/media/cropdetect.py:75:42: UP031 Use format specifiers instead of percent format
jaraco/media/cropdetect.py:88:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/media/cropdetect.py:115:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/media/dvd.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/media/dvd.py:18:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/media/dvd.py:102:13: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/media/dvd.py:283:16: UP031 Use format specifiers instead of percent format
jaraco/media/dvd.py:290:23: UP031 Use format specifiers instead of percent format
jaraco/media/dvd.py:394:23: UP031 Use format specifiers instead of percent format
jaraco/media/dvd_info.py:7:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/media/dvd_info.py:139:23: UP031 Use format specifiers instead of percent format
jaraco/media/dvd_info.py:140:23: UP031 Use format specifiers instead of percent format
jaraco/media/dvd_info.py:141:23: UP031 Use format specifiers instead of percent format
jaraco/media/handbrake.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/media/handbrake.py:20:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/media/handbrake.py:237:9: B904 Within an `except` clause, raise exceptions with `raise ... from err` or `raise ... from None` to distinguish them from errors in exception handling
jaraco/media/index.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/media/matroska.py:5:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/media/splice.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/media/srt-concat.py:5:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/media/srt.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/media/tests/test_handbrake.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 26 errors.
[*] 15 fixable with the `--fix` option (8 hidden fixes can be enabled with the `--unsafe-fixes` option).
dotfiles
warning: No Python files found under the given path(s)
All checks passed!
jaraco.timing
All checks passed!
jaraco.office
build-exe.py:5:1: I001 [*] Import block is un-sorted or un-formatted
conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/office/convert.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/office/convert.py:26:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/office/grep.py:1:1: I001 [*] Import block is un-sorted or un-formatted
jaraco/office/word.py:1:1: I001 [*] Import block is un-sorted or un-formatted
Found 6 errors.
[*] 6 fixable with the `--fix` option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment