forked from SongshGeo/Python-Project-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
134 lines (125 loc) · 3.22 KB
/
pyproject.toml
File metadata and controls
134 lines (125 loc) · 3.22 KB
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[project]
name = "songshgeo"
version = "1.3.0"
description = "Template"
authors = [
{name = "SongshGeo", email = "songshgeo@gmail.com"}
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.10,<3.14"
dependencies = [
"typing-extensions>=4.12.2",
"future-annotations>=1.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.2.1",
"tox>=4.0.0",
"ipywidgets>=8.1.5",
"allure-pytest>=2.13.0",
"ipykernel>=6.21.2",
"flake8>=6.0.0",
"isort>=5.12.0",
"nbstripout>=0.6.1",
"pydocstyle>=6.3.0",
"pre-commit-hooks>=4.4.0",
"snakeviz>=2.2.0",
"pytest-mpl>=0.17.0",
"questionary>=2.0,<3.0",
"interrogate>=1.7.0",
]
docs = [
"mkdocs>=1.4.2",
"mike>=2.0.0",
"mkdocs-material>=9.1.6",
"mkdocs-git-revision-date-localized-plugin>=1.2.0",
"mkdocs-minify-plugin>=0.6.4",
"mkdocs-redirects>=1.2.0",
"mkdocs-awesome-pages-plugin>=2.8.0",
"mkdocs-git-authors-plugin>=0.7.0",
"mkdocstrings[python]>=0.24.0",
"mkdocs-bibtex>=2.8.16",
"mkdocs-macros-plugin>=0.7.0",
"mkdocs-jupyter>=0.24.1",
"mkdocs-callouts>=1.9.0",
"mkdocs-glightbox>=0.3.2",
"mkdocs-ezlinks-plugin>=0.1.14",
"mkdocs-exclude>=1.0.2",
]
[tool.poetry]
name = "songshgeo"
version = "1.2.0"
description = "Template"
authors = ["SongshGeo <songshgeo@gmail.com>"]
license = "MIT"
readme = "README.md"
packages = [{include = "src"}]
[tool.poetry.dependencies]
python = ">=3.10,<3.14"
typing-extensions = ">=4.12.2"
future-annotations = ">=1.0.0"
[tool.poetry.group.dev.dependencies]
pytest = ">=7.2.1"
tox = ">=4.0.0"
ipywidgets = ">=8.1.5"
allure-pytest = ">=2.13.0"
ipykernel = ">=6.21.2"
flake8 = ">=6.0.0"
isort = ">=5.12.0"
nbstripout = ">=0.6.1"
pydocstyle = ">=6.3.0"
pre-commit-hooks = ">=4.4.0"
snakeviz = ">=2.2.0"
pytest-mpl = ">=0.17.0"
questionary = "~2"
[tool.poetry.group.docs.dependencies]
mkdocs = ">=1.4.2"
mike = ">=2.0.0"
mkdocs-material = ">=9.1.6"
mkdocs-git-revision-date-localized-plugin = ">=1.2.0"
mkdocs-minify-plugin = ">=0.6.4"
mkdocs-redirects = ">=1.2.0"
mkdocs-awesome-pages-plugin = ">=2.8.0"
mkdocs-git-authors-plugin = ">=0.7.0"
mkdocstrings = {extras = ["python"], version = ">=0.24.0"}
mkdocs-bibtex = ">=2.8.16"
mkdocs-macros-plugin = ">=0.7.0"
mkdocs-jupyter = ">=0.24.1"
mkdocs-callouts = ">=1.9.0"
mkdocs-glightbox = ">=0.3.2"
mkdocs-ezlinks-plugin = ">=0.1.14"
mkdocs-exclude = ">=1.0.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.interrogate]
ignore-init-module = true
ignore-init-method = false
ignore-magic = false
ignore-semiprivate = false
ignore-private = false
ignore-property-decorators = false
ignore-protected = false
fail-under = 80
verbose = true
[tool.flake8]
max-line-length = 79
max-complexity = 18
extend-ignore = [
"E203", # whitespace before ':'
"E231", # missing whitespace after ','
"E266", # too many leading '#' for block comment
"E501", # line too long
"W503", # line break before binary operator
"F403", # 'from module import *' used
"F405", # name may be undefined, or defined from star imports
"F401", # imported but unused
]
exclude = [
".git",
"__pycache__",
"build",
"dist",
]
select = ["B", "C", "E", "F", "W", "T4", "B9"]