diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2021-04-15 13:32:17 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2021-04-15 13:32:17 -0500 |
| commit | a225b2f8aa9e5353951cea738226a8feac15ceca (patch) | |
| tree | 76698aab97c8c62d3054611f90ea6ca8cbb7455b /pyproject.toml | |
| parent | Fix documentation error with incorrect path to exception (diff) | |
| download | lirc-a225b2f8aa9e5353951cea738226a8feac15ceca.zip | |
Update pyproject settings
Updates pre-commit, changes the black python target
version, and bumps the poetry version requirement.
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 140 |
1 files changed, 70 insertions, 70 deletions
diff --git a/pyproject.toml b/pyproject.toml index c62443a..fd8b7c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,70 +1,70 @@ -[tool.poetry]
-name = "lirc"
-version = "1.0.1"
-description = "Interact with the daemon in the Linux Infrared Remote Control package"
-authors = ["Eugene Triguba <eugenetriguba@gmail.com>"]
-license = "MIT"
-readme = "README.rst"
-repository = "https://github.com/eugenetriguba/lirc"
-keywords = [
- "LIRC",
- "IR"
-]
-classifiers = [
- "Development Status :: 5 - Production/Stable",
- "License :: OSI Approved :: MIT License",
- "Programming Language :: Python :: 3.6",
- "Programming Language :: Python :: 3.7",
- "Programming Language :: Python :: 3.8",
- "Programming Language :: Python :: 3.9",
- "Operating System :: POSIX :: Linux",
- "Operating System :: Microsoft :: Windows",
- "Operating System :: MacOS",
- "Topic :: System :: Hardware",
- "Topic :: Software Development :: Libraries :: Python Modules",
-]
-
-packages = [
- { include = "lirc" },
- { include = "tests", format = "sdist" }
-]
-
-[tool.taskipy.tasks]
-lint = "poetry run pre-commit run --all"
-test = "task test_cov_missing"
-test_unit = "poetry run pytest tests/"
-test_cov = "task test_unit -- --cov=lirc/"
-test_cov_missing = "task test_cov -- -v --cov-report term-missing"
-test_ci = "task test_cov -- --cov-report=xml"
-
-[tool.poetry.dependencies]
-python = "^3.6"
-
-[tool.poetry.dev-dependencies]
-pre-commit = { version = "^2.6.0", python = "^3.6.1" }
-flake8 = "^3.8.3"
-isort = "^5.0.4"
-seed-isort-config = { version = "^2.2.0", python = "^3.6.1" }
-pytest = "^6.0"
-pytest-cov = "^2.10.0"
-pytest-sugar = "^0.9.4"
-bump2version = "^1.0.0"
-taskipy = "^1.2.1"
-black = "^20.8b1"
-sphinx = "^3.1.2"
-sphinx_rtd_theme = "^0.5.0"
-codecov = "^2.1.7"
-sphinxcontrib-napoleon = "^0.7"
-
-[tool.black]
-target_version = ['py38']
-include = '\.pyi?$'
-
-[tool.isort]
-profile = "black"
-known_first_party = ["lirc"]
-known_third_party = ["pytest"]
-
-[build-system]
-requires = ["poetry>=1.0"]
-build-backend = "poetry.masonry.api"
+[tool.poetry] +name = "lirc" +version = "1.0.1" +description = "Interact with the daemon in the Linux Infrared Remote Control package" +authors = ["Eugene Triguba <eugenetriguba@gmail.com>"] +license = "MIT" +readme = "README.rst" +repository = "https://github.com/eugenetriguba/lirc" +keywords = [ + "LIRC", + "IR" +] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Operating System :: POSIX :: Linux", + "Operating System :: Microsoft :: Windows", + "Operating System :: MacOS", + "Topic :: System :: Hardware", + "Topic :: Software Development :: Libraries :: Python Modules", +] + +packages = [ + { include = "lirc" }, + { include = "tests", format = "sdist" } +] + +[tool.taskipy.tasks] +lint = "poetry run pre-commit run --all" +test = "task test_cov_missing" +test_unit = "poetry run pytest tests/" +test_cov = "task test_unit -- --cov=lirc/" +test_cov_missing = "task test_cov -- -v --cov-report term-missing" +test_ci = "task test_cov -- --cov-report=xml" + +[tool.poetry.dependencies] +python = "^3.6" + +[tool.poetry.dev-dependencies] +pre-commit = { version = "^2.12.0", python = "^3.6.1" } +flake8 = "^3.8.3" +isort = "^5.0.4" +seed-isort-config = { version = "^2.2.0", python = "^3.6.1" } +pytest = "^6.0" +pytest-cov = "^2.10.0" +pytest-sugar = "^0.9.4" +bump2version = "^1.0.0" +taskipy = "^1.2.1" +black = "^20.8b1" +sphinx = "^3.1.2" +sphinx_rtd_theme = "^0.5.0" +codecov = "^2.1.7" +sphinxcontrib-napoleon = "^0.7" + +[tool.black] +target_version = ['py36'] +include = '\.pyi?$' + +[tool.isort] +profile = "black" +known_first_party = ["lirc"] +known_third_party = ["pytest"] + +[build-system] +requires = ["poetry>=1.1"] +build-backend = "poetry.masonry.api" |