This repository has been archived by the owner on Aug 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
87 lines (71 loc) · 1.8 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[tool.poetry]
name = "hill-map"
# See: https://github.com/python-poetry/poetry/pull/2366#issuecomment-652418094
# For info on poetry versioning for Python < 3.8
version = "0.1.0"
description = "Project for messing around with hill map data"
authors = ["Robin Kennedy-Reid <[email protected]>"]
packages = [
{ include = "hill_map", from = "src" },
]
[tool.poetry.scripts]
hill-map = "hill_map.__main__:main"
[tool.poetry.dependencies]
python = "^3.10"
pydantic = {extras = ["dotenv"], version = "^1.9.1"}
pandas = "^1.4.3"
plotly = "^5.9.0"
typer = "^0.4.2"
[tool.poetry.dev-dependencies]
pytest = "^7.1.2"
pylint = "^2.14.3"
mypy = "^0.961"
black = "^22.3.0"
flake8 = "^4.0.1"
isort = "^5.10.1"
[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.mypy.overrides]]
module = [
"plotly.*",
"pandas",
]
ignore_missing_imports = true
[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/"]