From 0116caa9c6f2f78f5503ef9a94d2774f0f2fbb87 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sun, 26 Jul 2020 17:58:09 -0500 Subject: Remove test_all task and add packages to include --- pyproject.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index d5eacfe..89051dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,11 @@ classifiers = [ "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" @@ -27,7 +32,6 @@ 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" -test_all = "export LIRC_RUN_LONG_TESTS=true && poetry run task test && unset LIRC_RUN_LONG_TESTS" [tool.poetry.dependencies] python = "^3.6" -- cgit v1.2.3 From 549912069a5beae42c5d0d5b4cfd79427da379da Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sun, 30 Aug 2020 22:03:59 -0500 Subject: Add `transitions` and update dependencies --- pyproject.toml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 89051dd..f9d3ae5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,34 +35,32 @@ test_ci = "task test_cov -- --cov-report=xml" [tool.poetry.dependencies] python = "^3.6" +transitions = "^0.8.2" [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 = "^5.4.3" +pytest = "^6.0" pytest-cov = "^2.10.0" pytest-sugar = "^0.9.4" bump2version = "^1.0.0" taskipy = "^1.2.1" -black = "^19.10b0" +black = "^20.8b1" sphinx = "^3.1.2" sphinx_rtd_theme = "^0.5.0" codecov = "^2.1.7" [tool.black] -line-length = 88 target_version = ['py38'] include = '\.pyi?$' [tool.isort] -line_length = 88 -multi_line_output = 3 -include_trailing_comma = true +profile = "black" known_first_party = ["lirc"] known_third_party = ["pytest"] [build-system] -requires = ["poetry>=0.12"] +requires = ["poetry>=1.0"] build-backend = "poetry.masonry.api" -- cgit v1.2.3 From 376b65773af97f6bc053be5f89b788569ce4e502 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Mon, 31 Aug 2020 17:20:54 -0500 Subject: Remove transitions --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index f9d3ae5..ed016f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,6 @@ test_ci = "task test_cov -- --cov-report=xml" [tool.poetry.dependencies] python = "^3.6" -transitions = "^0.8.2" [tool.poetry.dev-dependencies] pre-commit = { version = "^2.6.0", python = "^3.6.1" } -- cgit v1.2.3 From f52552fedbb7f567b3c69b6a638f5ccefea0d59f Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 3 Oct 2020 22:30:29 -0500 Subject: Add napoleon for Sphinx --- pyproject.toml | 131 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 66 insertions(+), 65 deletions(-) (limited to 'pyproject.toml') 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 "] -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 "] +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" -- cgit v1.2.3