-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
107 lines (95 loc) · 2.74 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
[tool.poetry]
name = "goethe"
version = "0.1.0"
description = "Create Sphinx RST documents programmatically with Python"
authors = ["Benjamin Gutzmann <[email protected]>"]
license = "MIT"
readme = "README.rst"
include = [
"LICENSE",
]
homepage = "https://github.com/earthobservations/goethe"
repository = "https://github.com/earthobservations/goethe"
keywords = [
"open-source",
"RST",
"restructured-text"
]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS"
]
[tool.poetry.urls]
"Issues" = "https://github.com/earthobservations/goethe/issues"
"Releases" = "https://github.com/earthobservations/goethe/releases"
[tool.poetry.dependencies]
python = "^3.8"
rst2pdf = {version = "^0.99", optional = true}
numpy = "^1.23.4"
[tool.poetry.dev-dependencies]
pytest = "^7.1.3"
pytest-cov = "^3.0"
black = "^22.8.0"
poethepoet = "^0.16.2"
flakeheaven = "^3.0.0"
isort = "^5.10.1"
flake8-black = "^0.3.3"
flake8-bugbear = "^22.9.23"
flake8-builtins = "^1.5.3"
flake8-comprehensions = "^3.10.0"
flake8-copyright = "^0.2.3"
flake8-eradicate = "^1.4.0"
flake8-isort = "^4.2.0"
flake8-print = "^5.0.0"
flake8-return = "^1.1.3"
pytest-lazy-fixture = "^0.6.3"
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.flakeheaven]
format = "grouped"
max-line-length = 120
extended_default_ignore = []
[tool.flakeheaven.plugins]
pycodestyle = ["+*", "-E203", "-W503", "-E501", "-E231"]
pyflakes = ["+*"]
flake8-bandit = ["+*"]
flake8-black = ["+*"]
flake8-bugbear = ["+*"]
flake8-builtins = ["+*", "-A003"]
flake8-comprehensions = ["+*"]
flake8-copyright = ["+*"]
flake8-eradicate = ["+*"]
flake8-isort = ["+*"]
flake8-print = ["+*"]
flake8-return = ["+*"]
flake8-2020 = ["+*"]
[tool.flakeheaven.exceptions."**/__init__.py"]
pyflakes = ["-F401"]
[tool.poe.tasks]
black = "black goethe tests examples"
isort = "isort goethe tests examples"
format = ["black", "isort"]
lint = "flakeheaven lint goethe tests examples"
test = "pytest -vvv tests"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"