[build-system] requires = ["flit"] build-backend = "flit.buildapi" [project] name = "s2watchdog" readme = "README.md" description = "A simple watchdog script for the deep freezer alert system in our s2 scullery" license = { file = "LICENSE" } requires-python = ">=3.7" dynamic = ["version"] authors = [ {name = "Holger Frey", email = "frey@imtek.de"}, ] # see https://pypi.org/classifiers/ classifiers = [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3 :: Only", "License :: Freely Distributable", ] dependencies = [ 'requests', ] [project.urls] Source = "https://git.cpi.imtek.uni-freiburg.de/CPI/s2watchdog.git" [project.scripts] s2watchdog = "s2watchdog:run" [project.optional-dependencies] test = [ "pytest >=4.0.0", "pytest-cov", "pytest-mock", "pytest-randomly", "tox", ] dev = [ "black", "flake8", "flake8-comprehensions", "flake8-bandit", "isort >= 5.0.0", "keyring", "pre-commit", ] [tool.black] line-length = 79 target-version = ['py37','py38', 'py39'] 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.isort] line_length=79 multi_line_output=3 length_sort="True" include_trailing_comma="True" [tool.pytest.ini_options] markers = [ "fun: marks tests as functional (deselect with '-m \"not fun\"')", ] addopts = [ "--strict-markers", ]