Skip to content

Commit

Permalink
Merge pull request #105 from smkent/manage-cookie
Browse files Browse the repository at this point in the history
Update project template cruft, dependencies
  • Loading branch information
smkent authored Jul 9, 2024
2 parents 9cedf76 + b0dc20f commit 36c238b
Show file tree
Hide file tree
Showing 4 changed files with 286 additions and 298 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": ".",
"commit": "ef0eb856151aa6b4a7442a6c3e8ceb6511203ac2",
"commit": "9cedf76f1ea698958ec6e4773007720d211fad97",
"context": {
"cookiecutter": {
"project_name": "Cookiecutter template for new Python projects",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/actions/python-poetry/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
python3 -m pip install --upgrade requests
- name: 🐍 Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
id: setuppy
with:
python-version: ${{ inputs.python_version }}
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
exclude: '^{{cookiecutter.project_name}}/'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-yaml
- id: check-merge-conflict
- id: debug-statements
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 24.2.0
rev: 24.4.2
hooks:
- id: black
args: ["--config", "pyproject.toml"]
Expand All @@ -19,14 +19,14 @@ repos:
- id: isort
args: ["--show-config"]
- repo: https://github.com/pycqa/bandit
rev: 1.7.7
rev: 1.7.9
hooks:
- id: bandit
additional_dependencies: ['.[toml]']
args: ["--configfile", "pyproject.toml"]
exclude: '^tests/'
- repo: https://github.com/pycqa/flake8
rev: 7.0.0
rev: 7.1.0
hooks:
- id: flake8
additional_dependencies:
Expand All @@ -35,11 +35,11 @@ repos:
- flake8-simplify
- pep8-naming
- repo: https://github.com/pycqa/autoflake
rev: v2.3.0
rev: v2.3.1
hooks:
- id: autoflake
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.1
rev: v3.16.0
hooks:
- id: pyupgrade
args: ["--keep-runtime-typing"]
Expand Down
Loading

0 comments on commit 36c238b

Please sign in to comment.