-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
45 lines (39 loc) · 1.34 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[tool.autopep8]
indent_size = 2
ignore = "E121,E125,E126,E129,E226,E302,E305,E501,W504,E741,E20,W503"
exclude = ".ipynb_checkpoints,Other,blackjack_other*"
aggressive = 3
recursive = true
[tool.mypy]
exclude = "(^Other|^blackjack_other)"
ignore_missing_imports = true
strict = true
[tool.pyink]
pyink-indentation = 2
line-length = 100 # Default is 88.
pyink-use-majority-quotes = true
extend-exclude = ".|\\.ipynb" # Exclude all; this project was not yet reformatted.
[tool.pylint.main]
disable = [
"fixme", "redefined-builtin", "cell-var-from-loop",
"using-constant-test", "simplifiable-condition", "import-outside-toplevel", "line-too-long",
"too-many-lines", "too-few-public-methods", "too-many-arguments", "too-many-locals",
"too-many-instance-attributes", "too-many-statements", "too-many-positional-arguments",
"missing-module-docstring", "use-dict-literal",
]
reports = false
score = false
recursive = true
ignore-paths = [".*ipynb_checkpoints", "Other", "blackjack_other.*", "^.pytype", ".*/.pytype"]
[tool.pylint.basic]
good-names-rgxs = "^[a-z][a-z0-9]?|[A-Z]([A-Z_]*[A-Z])?$"
[tool.pylint.format]
indent-string = " "
expected-line-ending-format = "LF"
[tool.pytype]
keep_going = true
exclude = ['Other', 'blackjack_other*']
strict_none_binding = true
use_enum_overlay = true
use_fiddle_overlay = true
disable = ["incomplete-match"]