|
| 1 | +[build-system] |
| 2 | +build-backend = "setuptools.build_meta" |
| 3 | +requires = ["setuptools>=64"] |
| 4 | + |
| 5 | +[project] |
| 6 | +authors = [ |
| 7 | + {name = "Lourens Veen", email = "l.veen@esciencecenter.nl"}, |
| 8 | +] |
| 9 | +classifiers = [ |
| 10 | + "Development Status :: 4 - Beta", |
| 11 | + "Intended Audience :: Developers", |
| 12 | + "Natural Language :: English", |
| 13 | + "Programming Language :: Python :: 3", |
| 14 | + "Programming Language :: Python :: 3.9", |
| 15 | + "Programming Language :: Python :: 3.10", |
| 16 | + "Programming Language :: Python :: 3.11", |
| 17 | + "Programming Language :: Python :: 3.12", |
| 18 | + "Programming Language :: Python :: 3.13", |
| 19 | + "Programming Language :: Python :: 3.14", |
| 20 | +] |
| 21 | +dependencies = [ |
| 22 | + "click>=6.5", |
| 23 | + "yatiml>=0.12.0,<0.13.0", |
| 24 | + # "yatiml @ git+https://github.com/yatiml/yatiml@develop#egg=yatiml", |
| 25 | +] |
| 26 | +description = "Python bindings for the YAML version of the Multiscale Modeling and Simulation Language" |
| 27 | +keywords = ["yMMSL", "multiscale", "modeling", "simulation", "YAML"] |
| 28 | +license = "Apache-2.0" |
| 29 | +license-files = ["LICENSE"] |
| 30 | +name = "ymmsl" |
| 31 | +readme = "README.rst" |
| 32 | +requires-python = ">=3.9, <4" |
| 33 | +version = "0.15.1-dev" |
| 34 | + |
| 35 | +[project.urls] |
| 36 | +documentation = "https://ymmsl-python.readthedocs.io/" |
| 37 | +homepage = "https://github.com/multiscale/ymmsl-python" |
| 38 | + |
| 39 | +[tool.setuptools] |
| 40 | +include-package-data = true |
| 41 | + |
| 42 | +[tool.setuptools.packages.find] |
| 43 | +include = ["ymmsl", "ymmsl.*"] |
| 44 | + |
| 45 | +[project.scripts] |
| 46 | +ymmsl = "ymmsl.command_line:ymmsl" |
| 47 | + |
| 48 | +[tool.coverage.run] |
| 49 | +branch = true |
| 50 | +source = ["ymmsl"] |
| 51 | + |
| 52 | +[tool.coverage.xml] |
| 53 | +output = "cobertura.xml" |
| 54 | + |
| 55 | +[tool.pytest] |
| 56 | +addopts = [ |
| 57 | + "--cov", "--cov-report", "xml", "--cov-report", "term-missing", "-vv", |
| 58 | +] |
| 59 | +testpaths = ["ymmsl"] |
| 60 | + |
| 61 | +[tool.mypy] |
| 62 | +files = "ymmsl/**/*.py" |
| 63 | +# mypy_path = ymmsl |
| 64 | +disallow_incomplete_defs = true |
| 65 | +disallow_untyped_defs = true |
| 66 | + |
| 67 | +[tool.ruff] |
| 68 | +exclude = [ |
| 69 | + "docs", |
| 70 | + ".git", |
| 71 | +] |
| 72 | +include = ["pyproject.toml", "ymmsl/**/*.py"] |
| 73 | +# Same as Black |
| 74 | +indent-width = 4 |
| 75 | +line-length = 88 |
| 76 | + |
| 77 | +[tool.ruff.lint] |
| 78 | +select = [ |
| 79 | + # pycodestyle |
| 80 | + "E", |
| 81 | + # Pyflakes |
| 82 | + "F", |
| 83 | + # TODO: enable these at some point? |
| 84 | + # pyupgrade |
| 85 | + # "UP", |
| 86 | + # flake8-bugbear |
| 87 | + #"B", |
| 88 | + # flake8-simplify |
| 89 | + #"SIM", |
| 90 | + # isort |
| 91 | + # "I", |
| 92 | +] |
0 commit comments