-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
108 lines (98 loc) · 2.29 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "atlanta_shore"
version = "0.1.0"
authors = [
{ name="Joe Collins", email="[email protected]" },
{ name="Mags Cousins", email="[email protected]" },
]
description = "Spains Hall data and analysis."
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"black",
"debugpy", # only required for debugging, not needed for production.
"imageio",
"ipykernel", # required for jupyter notebook in VS Code.
"ipympl",
"jupyterlab",
"lxml", # for parsing GPX files.
"matplotlib",
"mkdocs-material", # theme for the documentation.
"mkdocs",
"mypy",
"OSGridConverter",
"pandas",
"pre-commit",
"pip-tools", # used to manage requirements.txt.
"pydantic",
"pysqlite3", # in case we need the enhanced geospatial stuff.
"pytest", # used for testing, not needed for production.
"radian",
"ruff",
"scikit-image",
"sqlite-web"
]
[project.urls]
"homepage" = "https://github.com/joejcollins/atlanta-shore"
"repository" = "https://github.com/joejcollins/atlanta-shore"
"documentation" = "https://github.com/joejcollins/atlanta-shore"
[tool.setuptools.packages.find]
where = [
"python_src",
"tests"
]
[project.scripts]
run = "atlanta_shore.main:main"
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
extend-exclude = '''
/(
\.eggs
|\.git
)/
'''
[tool.isort]
profile = "black"
line_length = 88
[tool.pyright]
exclude = ["**/node_modules",
"**/__pycache__"
]
reportMissingImports = true
reportMissingTypeStubs = true
pythonVersion = "3.10"
pythonPlatform = "Linux"
[tool.ruff]
lint.select = ["F", "E", "W", "C90", "I"]
lint.fixable = ["ALL"]
target-version = "py310"
exclude = [
".git",
".github",
".pytest_cache",
".venv",
".vscode",
"__pycache__"
]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
follow_imports = "skip"
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-q --disable-warnings --cache-clear"
testpaths = [
"./tests/pytest"
]