pyflybygen/pyproject.toml
Waylon Walker 7c7877795f
Some checks failed
Release / release (push) Failing after 22s
0.1.0 add support for .gitignore and --relative-imports (#1)
* ignore .gitignore

* remove relative imports

* remove tmp

* rename template string

* rename template string

* format with black

* changelog

* Bump version: 0.0.0.dev1 → 0.0.0.dev2

* bump version

* Bump version: 0.1.0 → 0.2.0.dev0

* Bump version: 0.2.0.dev0 → 0.2.0.dev1

---------

Co-authored-by: autobump <autobump@users.noreply.github.com>
2023-03-14 08:15:19 -05:00

104 lines
2.2 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pyflybygen"
description = 'generate project pyflyby configurations'
readme = "README.md"
requires-python = ">=3.7"
license = "MIT"
keywords = []
authors = [
{ name = "Waylon S. Walker", email = "waylon@waylonwalker.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"rich",
"textual",
"typer",
"anyconfig",
"tree_sitter_languages",
'more_itertools',
'pathspec',
]
dynamic = ["version"]
[project.urls]
Documentation = "https://github.com/waylonwalker/pyflybygen#readme"
Issues = "https://github.com/waylonwalker/pyflybygen/issues"
Source = "https://github.com/waylonwalker/pyflybygen"
Changelog = "https://github.com/waylonwalker/pyflybygen"
[project.scripts]
pyflybygen = "pyflybygen.cli.app:app"
[tool.hatch.version]
path = "pyflybygen/__about__.py"
[tool.hatch.envs.default]
dependencies = [
"ipython",
"mypy",
"pyflyby",
"pytest",
"pytest-cov",
"pytest-mock",
"pytest-rich",
"ruff",
"black",
'coverage',
'coverage-rich',
]
[tool.hatch.envs.default.scripts]
test = "coverage run -m pytest"
cov = "coverage-rich report"
lint = "ruff pyflybygen"
format = "black pyflybygen"
format-check = "black --check pyflybygen"
build-docs = "markata build"
lint-test = [
"lint",
"format-check",
# "test",
# "cov",
]
test-lint = "lint-test"
[[tool.hatch.envs.test.matrix]]
python = ["37", "38", "39", "310", "311"]
[tool.coverage.run]
branch = true
parallel = true
omit = [
"pyflybygen/__about__.py",
]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.pytest.ini_options]
addopts = "-ra -q --rich"
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.coverage_rich]
fail-under=80
[tool.ruff]
ignore=['E501'] # let black control line length errors