-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
140 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,14 +19,18 @@ jobs: | |
with: | ||
python-version: 3.8 | ||
|
||
- name: Install pre-commit | ||
run: pip install pre-commit | ||
- name: Install system deps | ||
shell: bash | ||
run: | | ||
pip install poetry | ||
poetry config virtualenvs.in-project true | ||
poetry install --no-root --only dev --only linters --sync | ||
- name: Run autoupdate | ||
run: pre-commit autoupdate | ||
run: poetry run pre-commit autoupdate | ||
|
||
- name: Run pre-commit | ||
run: pre-commit run --all-files | ||
run: poetry run pre-commit run --all-files | ||
|
||
- uses: peter-evans/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "cookiecutter-modern-pypackage" | ||
version = "2.2.1" | ||
version = "2.3.0" | ||
description = "Cookiecutter template for a modern Python package." | ||
authors = ["Federico Jaureguialzo <[email protected]>"] | ||
license = "MIT" | ||
|
@@ -31,10 +31,24 @@ classifiers=[ | |
|
||
[tool.poetry.dependencies] | ||
python = "<3.12,>=3.8" | ||
cookiecutter = "^2.1.1" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
pre-commit = "^3.3.2" | ||
invoke = "^2.1.2" | ||
bump2version = "^1.0.1" | ||
watchdog = {version = "^3.0.0", extras = ["watchmedo"]} | ||
|
||
[tool.poetry.group.test.dependencies] | ||
pytest = "^7.3.1" | ||
xdoctest = "^1.1.1" | ||
pytest-cookies = "^0.7.0" | ||
|
||
[tool.poetry.group.format.dependencies] | ||
isort = "^5.12.0" | ||
black = "^23.3.0" | ||
|
||
[tool.poetry.group.linters.dependencies] | ||
flake8 = ">=4.0.1,<5.0.0" | ||
flakeheaven = "^3.3.0" | ||
flake8-builtins = "^2.1.0" | ||
|
@@ -46,18 +60,16 @@ flake8-docstrings = "^1.7.0" | |
flake8-bandit = "^3.0.0" | ||
flake8-broken-line = "^0.6.0" | ||
darglint = "^1.8.1" | ||
isort = "^5.12.0" | ||
black = "^23.3.0" | ||
|
||
[tool.poetry.group.security.dependencies] | ||
safety = "^2.4.0b1" | ||
|
||
[tool.poetry.group.typing.dependencies] | ||
mypy = "^1.3.0" | ||
|
||
[tool.poetry.group.docs.dependencies] | ||
sphinx = "^7.0.1" | ||
recommonmark = "^0.7.1" | ||
bump2version = "^1.0.1" | ||
pytest = "^7.3.1" | ||
xdoctest = "^1.1.1" | ||
cookiecutter = "^2.1.1" | ||
pytest-cookies = "^0.7.0" | ||
watchdog = {version = "^3.0.0", extras = ["watchmedo"]} | ||
|
||
[tool.flakeheaven] | ||
format = "grouped" | ||
|
Oops, something went wrong.