-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (83 loc) · 2.65 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (83 loc) · 2.65 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
[tool.setuptools.package-data]
"pyGCodeDecode" = ["data/*", "examples/data/*"]
[project]
name = "pyGCodeDecode"
version = "1.5.0"
authors = [
{ name = "FAST-LB at KIT", email = "lt-github@fast.kit.edu" },
{ name = "Jonathan Knirsch", email = "jonathan.knirsch@student.kit.edu" },
{ name = "Felix Frölich", email = "felix.froelich@kit.edu" },
{ name = "Lukas Hof", email = "lukas.hof@kit.edu" },
]
description = "Generate time dependent boundary conditions from a .gcode file."
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering",
]
requires-python = ">=3.10"
dependencies = ["numpy", "matplotlib", "PyYAML", "pyvista"]
[project.optional-dependencies]
TEST = ["pytest-cov", "pandas"]
DEVELOPER = ["ruff", "pre-commit", "pytest-cov"]
DOCS = [
"mkdocs",
"pydoc-markdown",
# Needs this custom fork to sort modules: git+https://github.com/jeknirsch/pydoc-markdown.git@sort_modules
]
[project.urls]
Code = "https://github.com/FAST-LB/pyGCodeDecode"
Issues = "https://github.com/FAST-LB/pyGCodeDecode/issues"
[project.scripts]
pygcd = "pyGCodeDecode.cli:_main"
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = [
"I", # isort
"F", # pyflakes
"E", # pydocstyle errors
"W", # pydocstyle warnings
"D", # pydocstyle
"UP", # pyupgrade
"RUF", # ruff
"ANN", # function annotations
"S", # bandit security linter
"NPY", # NumPy
"A", # builtins
"C4", # list comprehensions
"ICN", # import conventions
"PTH", # pathlib
"PD", # pandas-vet
"PLE", # Pylint errors
"B", # bugbear
# suggested but unused rulesets:
# "N", # PEP8-naming
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101"] # Allow use of assert in tests
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.coverage.paths]
source = ["./pyGCodeDecode/"]
[tool.coverage.run]
omit = ["./tests/*", "./example/*"]
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_also = ["if __name__ == .__main__.:", "except", "import"]