diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2020-10-03 22:30:29 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2020-10-03 22:30:29 -0500 |
| commit | f52552fedbb7f567b3c69b6a638f5ccefea0d59f (patch) | |
| tree | 495b53ed8606a2edf9824b9919338f05835a442a /pyproject.toml | |
| parent | Remove skipif check on test (diff) | |
| download | lirc-f52552fedbb7f567b3c69b6a638f5ccefea0d59f.zip | |
Add napoleon for Sphinx
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 131 |
1 files changed, 66 insertions, 65 deletions
diff --git a/pyproject.toml b/pyproject.toml index ed016f6..49d1a85 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,65 +1,66 @@ -[tool.poetry] -name = "lirc" -version = "0.1.0" -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 :: 4 - Beta", - "License :: OSI Approved :: MIT License", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "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" - -[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 = "0.1.0"
+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 :: 4 - Beta",
+ "License :: OSI Approved :: MIT License",
+ "Programming Language :: Python :: 3.6",
+ "Programming Language :: Python :: 3.7",
+ "Programming Language :: Python :: 3.8",
+ "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"
|