|
| 1 | +[build-system] |
| 2 | +build-backend = "hatchling.build" |
| 3 | +requires = ["hatchling", "hatch-vcs"] |
| 4 | + |
| 5 | +[project] |
| 6 | +authors = [{name = "Repronim developers", email = "info@repronim.org"}] |
| 7 | +dependencies = [ |
| 8 | + "click", |
| 9 | + "etelemetry", |
| 10 | + "pyshacl", |
| 11 | + "PyLD", |
| 12 | + "requests", |
| 13 | + "requests_cache", |
| 14 | + "pyyaml", |
| 15 | + "beautifulsoup4", |
| 16 | + "lxml", |
| 17 | + "pydantic >= 2.0" |
| 18 | +] |
| 19 | +description = "Reproschema Python library" |
| 20 | +# Version from setuptools_scm |
| 21 | +dynamic = ["version"] |
| 22 | +license = {text = "Apache License, 2.0"} |
| 23 | +maintainers = [{name = "Repronim developers", email = "info@repronim.org"}] |
| 24 | +name = "reproschema-py" |
| 25 | +readme = "README.md" |
| 26 | +requires-python = ">=3.8" |
| 27 | + |
| 28 | +[project.optional-dependencies] |
| 29 | +all = ["reproschema-py[doc]", "reproschema-py[test]"] |
| 30 | +dev = ["reproschema-py[doc]", "reproschema-py[test]", "black", "pre-commit"] |
| 31 | +doc = [ |
| 32 | + "packaging", |
| 33 | + "sphinx >= 2.1.2", |
| 34 | + "sphinx_rtd_theme", |
| 35 | + "sphinxcontrib-apidoc ~= 0.3.0", |
| 36 | + "sphinxcontrib-napoleon", |
| 37 | + "sphinxcontrib-versioning" |
| 38 | +] |
| 39 | +docs = ["reproschema-py[doc]"] |
| 40 | +# For running unit and docstring tests |
| 41 | +test = [ |
| 42 | + "pytest >= 4.4.0", |
| 43 | + "pytest-cov", |
| 44 | + "pytest-env", |
| 45 | + "pytest-xdist", |
| 46 | + "pytest-rerunfailures", |
| 47 | + "codecov" |
| 48 | +] |
| 49 | +tests = ["reproschema-py[test]"] |
| 50 | + |
| 51 | +[project.scripts] |
| 52 | +reproschema = "reproschema.cli:main" |
| 53 | + |
| 54 | +[project.urls] |
| 55 | +Homepage = "https://github.com/ReproNim/reproschema-py" |
| 56 | + |
| 57 | +[tool.black] |
| 58 | +line-length = 79 |
| 59 | + |
| 60 | +[tool.codespell] |
| 61 | +ignore-words = "codespell_ignore_words.txt" |
| 62 | +skip = "./.git" |
| 63 | + |
| 64 | +[tool.hatch.build.hooks.vcs] |
| 65 | +version-file = "reproschema/_version.py" |
| 66 | + |
| 67 | +[tool.hatch.build.targets.wheel] |
| 68 | +packages = ["reproschema"] |
| 69 | + |
| 70 | +[tool.hatch.version] |
| 71 | +source = "vcs" |
| 72 | + |
| 73 | +[tool.isort] |
| 74 | +combine_as_imports = true |
| 75 | +line_length = 79 |
| 76 | +profile = "black" |
| 77 | +skip_gitignore = true |
| 78 | + |
| 79 | +[tool.pytest.ini_options] |
| 80 | +addopts = "-ra --strict-config --strict-markers --doctest-modules --showlocals -v" |
| 81 | +doctest_optionflags = "NORMALIZE_WHITESPACE ELLIPSIS" |
| 82 | +junit_family = "xunit2" |
| 83 | +minversion = "6.0" |
| 84 | +xfail_strict = true |
0 commit comments