You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
120 lines
2.4 KiB
120 lines
2.4 KiB
[build-system] |
|
requires = ["flit_core>=3.2,<4"] |
|
build-backend = "flit_core.buildapi" |
|
|
|
[project] |
|
name = "sensospot_parser" |
|
readme = "README.md" |
|
license = { file = "LICENSE" } |
|
requires-python = ">=3.9" |
|
dynamic = ["version", "description"] |
|
|
|
authors = [ |
|
{name = "Holger Frey", email = "frey@imtek.de"}, |
|
] |
|
|
|
# see https://pypi.org/classifiers/ |
|
classifiers = [ |
|
"Development Status :: 5 - Production/Stable", |
|
"Intended Audience :: Developers", |
|
"Intended Audience :: Science/Research", |
|
"Programming Language :: Python :: 3.8", |
|
"Programming Language :: Python :: 3.9", |
|
"Programming Language :: Python :: 3.10", |
|
"Programming Language :: Python :: 3 :: Only", |
|
"Topic :: Scientific/Engineering", |
|
"License :: Freely Distributable", |
|
] |
|
|
|
dependencies = [ |
|
"click", |
|
"defusedxml >=0.6.0", |
|
"pandas >=1.0.0", |
|
"tables >=3.6.1", |
|
] |
|
[project.urls] |
|
Source = "https://git.cpi.imtek.uni-freiburg.de/holgi/sensospot_parser.git" |
|
|
|
[project.scripts] |
|
sensospot_parse = "sensospot_parser:main" |
|
|
|
[project.optional-dependencies] |
|
dev = [ |
|
"black", |
|
"flit", |
|
"keyring", |
|
"pre-commit", |
|
"ruff", |
|
] |
|
docs = [ |
|
"mkdocs", |
|
"mkdocstrings[python]", |
|
] |
|
test = [ |
|
"pytest >=4.0.0", |
|
"pytest-cov", |
|
"pytest-mock", |
|
"pytest-randomly >=3.5.0", |
|
"nox", |
|
] |
|
|
|
|
|
[tool.pytest.ini_options] |
|
markers = [ |
|
"functional: marks tests as functional (deselect with '-m \"not functional\"')", |
|
] |
|
addopts = [ |
|
"--strict-markers", |
|
] |
|
|
|
|
|
[tool.black] |
|
line-length = 79 |
|
target-version = ['py39', 'py310'] |
|
include = '\.pyi?$' |
|
extend-exclude = ''' |
|
# A regex preceded with ^/ will apply only to files and directories |
|
# in the root of the project. |
|
^/.git |
|
^/.tox |
|
^/.venv |
|
^/.build |
|
^/.dist |
|
''' |
|
|
|
[tool.ruff] |
|
# see https://github.com/charliermarsh/ruff |
|
select = ["ALL"] |
|
ignore = [ |
|
# ignored for now, should be activated in the future |
|
# docstrings |
|
"D", |
|
# flake8-annotations |
|
"ANN", |
|
# flake8-type-checking |
|
"TCH", |
|
|
|
# ignored, "black" will handle this |
|
# flake8-commas |
|
"COM", |
|
|
|
# ignored, due to Windows / WSL2 setup |
|
# flake8-executable |
|
"EXE", |
|
|
|
# project specific ignores |
|
# flake8-import-conventions |
|
"ICN", |
|
] |
|
fixable = ["I"] |
|
fix = true |
|
line-length=79 |
|
target-version = "py38" |
|
|
|
[tool.ruff.per-file-ignores] |
|
# see https://github.com/charliermarsh/ruff |
|
"src/*" = ["SLF001", "G004"] |
|
"tests/*" = ["FBT003", "INP001", "PLR2004", "S101", "SLF001"] |
|
|
|
[tool.ruff.pydocstyle] |
|
convention = "pep257" # Accepts: "google", "numpy", or "pep257".
|
|
|