diff options
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 44 |
1 files changed, 30 insertions, 14 deletions
diff --git a/pyproject.toml b/pyproject.toml index 9cf335a..810e5c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,54 +5,70 @@ description = "Modify configuration files of various formats with the same simpl authors = ["Eugene Triguba <eugenetriguba@gmail.com>"] readme = "README.md" repository = "https://github.com/eugenetriguba/config_file" -keywords = ["configuration", "config file", "ini", "json", "toml", "yaml"] +documentation = "https://config-file.readthedocs.io/" +keywords = ["configuration", "ini", "json", "toml", "yaml"] classifiers = [ - "Development Status :: 2 - Pre-Alpha", + "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", ] +packages = [ + { include = "config_file" }, + { include = "tests", format = "sdist" } +] + [tool.taskipy.tasks] -test = "poetry run pytest -v --cov=config_file/ --cov-report term-missing tests/" +test = "task test_cov -- --cov-report term-missing" +test_cov = "task pytest -- --cov=config_file/" +test_ci = "task test_cov -- --cov-report=xml" +lint = "task lint_types && task lint_precommit" +lint_types = "poetry run mypy config_file/ tests/" +lint_precommit = "poetry run pre-commit run --all" +pytest = "poetry run pytest tests/" [tool.poetry.dependencies] python = "^3.6" -nested-lookup = "^0.2.19" -toml = { version = "^0.10.0", optional = true } -pyyaml = { version = "^5.3.1", optional = true } +tomlkit = { version = "^0.6.0", optional = true } +"ruamel.yaml" = { version = "^0.16.10", optional = true } [tool.poetry.extras] -toml = ["toml"] -yaml = ["pyyaml"] +toml = ["tomlkit"] +yaml = ["ruamel.yaml"] [tool.poetry.dev-dependencies] pre-commit = "^1.20" autoflake = "^1.3.1" isort = "^4.3.21" -seed-isort-config = "^1.9" -pytest = "^5.4.1" +seed-isort-config = { version = "^2.1.1", python = "^3.6.1" } +pytest = "^6.0.0" pytest-cov = "^2.8.1" -sphinx = "^2.4.4" -sphinx_rtd_theme = "^0.4.3" +pytest-sugar = "^0.9.3" taskipy = "^1.2.1" bump2version = "^1.0.0" flake8 = "^3.7.9" black = "^19.10b0" +sphinx = "^2.4.4" +sphinx_rtd_theme = "^0.4.3" +sphinxcontrib-napoleon = "^0.7" +mypy = "^0.782" [tool.black] line-length = 88 -target_version = ['py38'] +target_version = ['py36'] include = '\.pyi?$' [tool.isort] line_length = 88 multi_line_output = 3 include_trailing_comma = true -known_third_party = ["nested_lookup", "pytest"] +known_third_party = ["pytest"] known_first_party = ["config_file"] [build-system] |