-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
68 lines (54 loc) · 1.97 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 = ["setuptools>=64.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "sweets"
description = "Workflows for generating surface displacement maps using InSAR"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.8"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"License = file : LICENSE",
"Operating System :: OS Independent",
]
# The version will be written into a version.py upon install, auto-generated
# see section: setuptools_scm
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata
# dependencies will be read from text files
dynamic = ["version", "dependencies", "optional-dependencies"]
[project.urls]
Homepage = "https://github.com/scottstanie/sweets"
"Bug Tracker" = "https://github.com/scottstanie/sweets/issues"
# Entry points for the command line interface
[project.scripts]
sweets = "sweets.cli:main"
[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
# extra requirements: `pip install sweets[docs]` or `pip install .[docs]`
[tool.setuptools.dynamic.optional-dependencies.docs]
file = ["docs/requirements.txt"]
[tool.setuptools.dynamic.optional-dependencies.test]
file = ["tests/requirements.txt"]
[tool.setuptools_scm]
# https://github.com/pypa/setuptools_scm#configuration-parameters
write_to = "src/sweets/_version.py"
# https://github.com/pypa/setuptools_scm#version-number-construction
version_scheme = "no-guess-dev" # Will not guess the next version
[tool.black]
target-version = ["py38", "py39", "py310", "py310"]
preview = true
[tool.isort]
profile = "black"
known_first_party = ["sweets"]
[tool.mypy]
python_version = "3.8"
ignore_missing_imports = true
plugins = ["pydantic.mypy"]
[tool.pydocstyle]
ignore = "D100,D102,D104,D105,D106,D107,D203,D204,D213,D413"
[tool.pytest.ini_options]
filterwarnings = [
# "error",
]