[build-system] requires = ["flit"] build-backend = "flit.buildapi" [project] name = "xinvoice" readme = "README.md" description = "Parsing X-Invoice files" 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.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3 :: Only", "License :: Freely Distributable", ] dependencies = [ "beautifulsoup4", "click", "lxml", "pyperclip", ] [project.scripts] xinvoice = "xinvoice:main" [project.urls] Source = "https://git.cpi.imtek.uni-freiburg.de/CPI/xinvoice.git" [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 = [ "functional: marks tests as functional (deselect with '-m \"not functional\"')", ] addopts = [ "--strict-markers", ]