|
| 1 | +[build-system] |
| 2 | +requires = ["flit_core>=3.2", "flit_scm", "wheel"] |
| 3 | +build-backend = "flit_scm:buildapi" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "measurement" |
| 7 | +authors = [ |
| 8 | + { name = "Adam Coddington", email = "[email protected]" }, |
| 9 | + { name = "Johannes Maron", email = "[email protected]" } |
| 10 | +] |
| 11 | +readme = "README.rst" |
| 12 | +license = { file = "LICENSE" } |
| 13 | +dynamic = ["version", "description"] |
| 14 | +classifiers = [ |
| 15 | + "Development Status :: 5 - Production/Stable", |
| 16 | + "Intended Audience :: Developers", |
| 17 | + "License :: OSI Approved :: MIT License", |
| 18 | + "Operating System :: OS Independent", |
| 19 | + "Programming Language :: JavaScript", |
| 20 | + "Programming Language :: Python", |
| 21 | + "Programming Language :: Python :: 3", |
| 22 | + "Programming Language :: Python :: 3.7", |
| 23 | + "Programming Language :: Python :: 3.8", |
| 24 | + "Programming Language :: Python :: 3.9", |
| 25 | + "Programming Language :: Python :: 3 :: Only", |
| 26 | + "Topic :: Software Development", |
| 27 | + "Topic :: Utilities", |
| 28 | + "Topic :: Scientific/Engineering", |
| 29 | + "Topic :: Scientific/Engineering :: Astronomy", |
| 30 | + "Topic :: Scientific/Engineering :: Atmospheric Science", |
| 31 | + "Topic :: Scientific/Engineering :: Chemistry", |
| 32 | + "Topic :: Scientific/Engineering :: GIS", |
| 33 | + "Topic :: Scientific/Engineering :: Mathematics", |
| 34 | + "Topic :: Scientific/Engineering :: Physics", |
| 35 | + "Topic :: Software Development :: Localization", |
| 36 | +] |
| 37 | +keywords = [ |
| 38 | + "measurement", |
| 39 | +] |
| 40 | +requires-python = ">=3.7" |
| 41 | +dependencies = [] |
| 42 | + |
| 43 | +[project.optional-dependencies] |
| 44 | +test = [ |
| 45 | + "pytest", |
| 46 | + "pytest-cov", |
| 47 | +] |
| 48 | +docs = [ |
| 49 | + "sphinx", |
| 50 | + "python-docs-theme", |
| 51 | +] |
| 52 | + |
| 53 | +[project.urls] |
| 54 | +Project-URL = "http://github.com/coddingtonbear/python-measurement" |
| 55 | + |
| 56 | +[tool.flit.module] |
| 57 | +name = "measurement" |
| 58 | + |
| 59 | +[tool.setuptools_scm] |
| 60 | +write_to = "measurement/_version.py" |
| 61 | + |
| 62 | +[tool.pytest.ini_options] |
| 63 | +minversion = "6.0" |
| 64 | +addopts = "--doctest-glob=*.rst --doctest-modules --cov=measurement" |
| 65 | +testpaths = [ |
| 66 | + "tests", |
| 67 | +] |
| 68 | + |
| 69 | +[tool.coverage.report] |
| 70 | +show_missing = true |
| 71 | + |
| 72 | +[tool.isort] |
| 73 | +atomic = true |
| 74 | +line_length = 88 |
| 75 | +known_first_party = "measurement, tests" |
| 76 | +include_trailing_comma = true |
| 77 | +default_section = "THIRDPARTY" |
| 78 | +combine_as_imports = true |
| 79 | + |
| 80 | +[tool.pydocstyle] |
| 81 | +add_ignore = "D1" |
| 82 | +match_dir = "(?!tests|env|docs|\\.).*" |
| 83 | +match = "(?!setup).*.py" |
0 commit comments