Skip to content

Commit

Permalink
Update project template cruft, dependencies
Browse files Browse the repository at this point in the history
Applied updates from upstream project template commits:

smkent/cookie-python@ef0eb85...9404738

*   9404738 Merge pull request #106 from smkent/manage
|\
| * c3a564f Add get_branch() to mock repo response in manage unit tests
| * b4dd69d Add html_url to mock repo response in manage unit tests
| * ae30c7c Improve GitHub API/repo interactions in manage-cookie
* |   36c238b Merge pull request #105 from smkent/manage-cookie
|\ \
| |/
|/|
| * b0dc20f Update project template cruft, dependencies
|/
*   9cedf76 Merge pull request #104 from smkent/actions
|\
| * c85a1a5 Add CODECOV_TOKEN to codecov action in CI workflow
| * 6624aeb Update Github action versions
|/
*   9e52fa1 Merge pull request #103 from smkent/manage-cookie
|\
| * 36078ed Update dependencies
|/
*   9313b3e Merge pull request #102 from smkent/temp-cache-dir
|\
| * 4f47bdc Use temp dir for Poetry cache directory in manage-cookie
|/
*   95be994 Merge pull request #101 from smkent/manage-cookie
|\
| * 22e3bcf Apply automatic linting fixes
| * 4faeb9b Update dependencies
|/
* b7ed95d Merge pull request #100 from smkent/manage-cookie
* 97c1031 Update project template cruft, dependencies

Updated project dependencies via `poetry update`:

Package operations: 1 install, 29 updates, 1 removal

- Removing setuptools (69.1.1)
- Updating certifi (2024.2.2 -> 2024.7.4)
- Updating idna (3.6 -> 3.7)
- Updating pygments (2.17.2 -> 2.18.0)
- Updating types-python-dateutil (2.8.19.20240106 -> 2.9.0.20240316)
- Updating urllib3 (2.2.1 -> 2.2.2)
- Updating filelock (3.13.1 -> 3.15.4)
- Updating jinja2 (3.1.3 -> 3.1.4)
- Updating platformdirs (4.2.0 -> 4.2.2)
- Updating pluggy (1.4.0 -> 1.5.0)
- Updating requests (2.31.0 -> 2.32.3)
- Updating typing-extensions (4.10.0 -> 4.12.2)
- Updating packaging (23.2 -> 24.1)
- Installing shellingham (1.5.4)
- Updating coverage (7.4.3 -> 7.5.4)
- Updating gitpython (3.1.42 -> 3.1.43)
- Updating identify (2.5.35 -> 2.6.0)
- Updating nodeenv (1.8.0 -> 1.9.1)
- Updating typer (0.9.0 -> 0.12.3)
- Updating marshmallow (3.21.1 -> 3.21.3)
- Updating pytest (8.0.2 -> 8.2.2)
- Updating virtualenv (20.25.1 -> 20.26.3)
- Updating bandit (1.7.7 -> 1.7.9)
- Updating black (24.2.0 -> 24.4.2)
- Updating dataclasses-json (0.6.4 -> 0.6.7)
- Updating mypy (1.8.0 -> 1.10.1)
- Updating pep8-naming (0.13.3 -> 0.14.1)
- Updating poethepoet (0.25.0 -> 0.27.0)
- Updating pytest-cov (4.1.0 -> 5.0.0)
- Updating responses (0.25.0 -> 0.25.3)
- Updating types-requests (2.31.0.20240218 -> 2.32.0.20240622)

Writing lock file
  • Loading branch information
smkent committed Jul 9, 2024
1 parent 2be8e04 commit d6151bb
Show file tree
Hide file tree
Showing 6 changed files with 231 additions and 239 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/smkent/cookie-python",
"commit": "ef0eb856151aa6b4a7442a6c3e8ceb6511203ac2",
"commit": "9404738762c70e321f5aa44a9b92709f5619e49f",
"context": {
"cookiecutter": {
"project_name": "jmapc",
Expand Down
4 changes: 2 additions & 2 deletions .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 All @@ -41,7 +41,7 @@ runs:
echo "PROJECT_VERSION=${PROJECT_VERSION}" >> $GITHUB_ENV
- name: 🪝 Cache pre-commit hooks
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: "pre-commit-${{ runner.os }}-python\
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: 💾 Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🐍 Set up Python project with Poetry
uses: ./.github/workflows/actions/python-poetry
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
runs-on: ${{ matrix.os }}-latest
steps:
- name: 💾 Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🐍 Set up Python project with Poetry
uses: ./.github/workflows/actions/python-poetry
Expand All @@ -43,13 +43,15 @@ jobs:
run: poetry run poe test

- name: 🚒 Create test summary
uses: test-summary/action@v1
uses: test-summary/action@v2
if: success() || failure()
with:
paths: ./.pytest_results.xml

- name: 📊 Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: $${{ secrets.CODECOV_TOKEN }}
if: ${{ env.ENABLE_COVERAGE == 'true' }}
with:
fail_ci_if_error: true
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
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 @@ -18,14 +18,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 @@ -34,11 +34,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 d6151bb

Please sign in to comment.