-
Notifications
You must be signed in to change notification settings - Fork 514
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b36d84a
commit 74e0932
Showing
15 changed files
with
53 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
[flake8] | ||
ignore = | ||
E203, // Handled by black (Whitespace before ':' -- handled by black) | ||
E266, // Handled by black (Too many leading '#' for block comment) | ||
E501, // Handled by black (Line too long) | ||
W503, // Handled by black (Line break occured before a binary operator) | ||
E402, // Sometimes not possible due to execution order (Module level import is not at top of file) | ||
E731, // I don't care (Do not assign a lambda expression, use a def) | ||
B950, // Handled by black (Line too long by flake8-bugbear) | ||
B011, // I don't care (Do not call assert False) | ||
B014, // does not apply to Python 2 (redundant exception types by flake8-bugbear) | ||
N812, // I don't care (Lowercase imported as non-lowercase by pep8-naming) | ||
N804 // is a worse version of and conflicts with B902 (first argument of a classmethod should be named cls) | ||
max-line-length = 80 | ||
select = N,B,C,E,F,W,T4,B9 | ||
exclude=checkouts,lol*,.tox | ||
extend-ignore = | ||
# Handled by black (Whitespace before ':' -- handled by black) | ||
E203, | ||
# Handled by black (Line too long) | ||
E501, | ||
# Sometimes not possible due to execution order (Module level import is not at top of file) | ||
E402, | ||
# I don't care (Do not assign a lambda expression, use a def) | ||
E731, | ||
# does not apply to Python 2 (redundant exception types by flake8-bugbear) | ||
B014, | ||
# I don't care (Lowercase imported as non-lowercase by pep8-naming) | ||
N812, | ||
# is a worse version of and conflicts with B902 (first argument of a classmethod should be named cls) | ||
N804, | ||
extend-exclude=checkouts,lol* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
black==22.3.0 | ||
flake8==3.9.2 | ||
flake8-import-order==0.18.1 | ||
flake8==5.0.4 | ||
mypy==0.961 | ||
types-certifi | ||
types-redis | ||
types-setuptools | ||
flake8-bugbear==21.4.3 | ||
pep8-naming==0.13.0 | ||
flake8-bugbear==22.9.11 | ||
pep8-naming==0.13.2 | ||
pre-commit # local linting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,6 @@ | |
|
||
import sentry_sdk | ||
from sentry_sdk._compat import PY2 | ||
|
||
from sentry_sdk._types import MYPY | ||
|
||
if MYPY: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters