-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
68 lines (57 loc) · 1.17 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[build-system]
requires = ['poetry-core>=1.0.0']
build-backend = 'poetry.core.masonry.api'
[tool.poetry]
package-mode = false
[tool.poetry.dependencies]
# when upgrading this, make sure to also update Dockerfile base image
python = "^3.12"
python-escpos = "^3.1"
pytz = "^2024.1"
bottle = '^0.12'
[tool.poetry.group.dev.dependencies]
black = { version = '^24.4' }
isort = '^5.13'
Werkzeug = "^3.0"
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
(
\.git
| \.mypy_cache
| build
| dist
)
'''
[tool.isort]
src_paths = 'starship'
profile = 'black'
skip_gitignore = false
[tool.pylint.MASTER]
load-plugins = [
'pylint.extensions.docparams',
]
[tool.pylint.'MESSAGES CONTROL']
disable = [
'fixme',
'line-too-long',
'invalid-name',
'too-few-public-methods',
'too-many-arguments',
'too-many-instance-attributes',
'duplicate-code',
'missing-docstring',
'broad-exception-caught',
]
[tool.pylint.DESIGN]
max-parents = 25
ignored-argument-names = '_.*|arg|args|kwargs'
[tool.pylint.REPORTS]
output-format = 'parseable'
reports = 'no'
[tool.pylint.FORMAT]
expected-line-ending-format = 'LF'
max-line-length = 88
[tool.pylint.MISCELLANEOUS]
notes = 'FIXME,XXX'