-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
72 lines (59 loc) · 1.44 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
69
70
71
72
[tool.poetry]
name = "fill-time"
version = "0.1.0"
description = ""
authors = ["Robin Kennedy-Reid <[email protected]>"]
packages = [
{ include = "fill_time", from = "src" },
]
[tool.poetry.scripts]
fill-time = "fill_time.__main__:main"
[tool.poetry.dependencies]
python = "^3.9"
pip = "^21.3.1"
tabulate = "^0.8.9"
types-tabulate = "^0.8.3"
[tool.poetry.dev-dependencies]
pylint = "^2.12.2"
mypy = "^0.920"
black = "^21.12b0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = [
"tests",
]
[tool.mypy]
files = ["src", "tests"]
[tool.black]
# extend_exclude = '''
# ^/exclude_dir/
# '''
# See: https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html
# For info on compatibility of black with isort, pylint, flake8
[tool.isort]
profile = "black"
src_paths = ["src", "tests"]
# extend_skip_glob = ["exclude_dir/**"]
[tool.pylint.'MESSAGES CONTROL']
disable=[
"all",
]
enable=[
"E",
"F",
]
[tool.pylint.FORMAT]
max-line-length = "88"
output-format="colorized"
score="no"
[tool.pylint.REPORTS]
output-format="colorized"
score="no"
# See links below on exluding directories from pyright (and thus pylance)
# https://github.com/microsoft/pylance-release/issues/642#issuecomment-732175189
# https://github.com/microsoft/pyright/blob/main/docs/configuration.md#sample-config-file
[tool.pyright]
include = ["src"]
# exclude = ["exclude_dir/"]