Skip to content

Commit

Permalink
Merge dc9a9c5 into 029d35f
Browse files Browse the repository at this point in the history
  • Loading branch information
repo-helper[bot] committed Mar 11, 2024
2 parents 029d35f + dc9a9c5 commit 40ba4e8
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 25 deletions.
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ updates:
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 0
reviewers:
- domdfcoding
4 changes: 2 additions & 2 deletions .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout 🛎️
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"

- name: Check for changed files
uses: dorny/paths-filter@v2
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Setup Python 🐍
if: steps.changes.outputs.code == 'true'
uses: "actions/setup-python@v4"
uses: "actions/setup-python@v5"
with:
python-version: "3.8"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

steps:
- name: Checkout 🛎️
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"

- name: Check for changed files
uses: dorny/paths-filter@v2
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Setup Python 🐍
if: steps.changes.outputs.code == 'true'
uses: "actions/setup-python@v4"
uses: "actions/setup-python@v5"
with:
python-version: "3.8"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

steps:
- name: Checkout 🛎️
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"

- name: Check for changed files
if: startsWith(github.ref, 'refs/tags/') != true
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Setup Python 🐍
id: setup-python
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
uses: "actions/setup-python@v4"
uses: "actions/setup-python@v5"
with:
python-version: "${{ matrix.config.python-version }}"

Expand All @@ -67,7 +67,7 @@ jobs:
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false

- name: "Upload Coverage 🚀"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ always() && steps.setup-python.outcome == 'success' }}
with:
name: "coverage-${{ matrix.config.python-version }}"
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/python_ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

steps:
- name: Checkout 🛎️
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"

- name: Check for changed files
if: startsWith(github.ref, 'refs/tags/') != true
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Setup Python 🐍
id: setup-python
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
uses: "actions/setup-python@v4"
uses: "actions/setup-python@v5"
with:
python-version: "${{ matrix.config.python-version }}"

Expand All @@ -69,7 +69,7 @@ jobs:
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false

- name: "Upload Coverage 🚀"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ always() && steps.setup-python.outcome == 'success' }}
with:
name: "coverage-${{ matrix.config.python-version }}"
Expand All @@ -81,10 +81,10 @@ jobs:
runs-on: "ubuntu-20.04"
steps:
- name: Checkout 🛎️
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"

- name: Setup Python 🐍
uses: "actions/setup-python@v4"
uses: "actions/setup-python@v5"
with:
python-version: 3.8

Expand All @@ -94,7 +94,7 @@ jobs:
python -m pip install --upgrade "coveralls>=3.0.0" coverage_pyver_pragma
- name: "Download Coverage 🪂"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: coverage

Expand All @@ -112,7 +112,7 @@ jobs:
- name: "Upload Combined Coverage Artefact 🚀"
if: ${{ steps.show.outcome != 'failure' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "combined-coverage"
path: .coverage
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python_ci_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

steps:
- name: Checkout 🛎️
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"

- name: Check for changed files
if: startsWith(github.ref, 'refs/tags/') != true
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Setup Python 🐍
id: setup-python
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
uses: "actions/setup-python@v4"
uses: "actions/setup-python@v5"
with:
python-version: "${{ matrix.config.python-version }}"

Expand All @@ -67,7 +67,7 @@ jobs:
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false

- name: "Upload Coverage 🚀"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ always() && steps.setup-python.outcome == 'success' }}
with:
name: "coverage-${{ matrix.config.python-version }}"
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ci:

repos:
- repo: https://github.com/repo-helper/pyproject-parser
rev: v0.9.0
rev: v0.9.1
hooks:
- id: reformat-pyproject

Expand Down Expand Up @@ -43,13 +43,13 @@ repos:
- id: bind-requirements

- repo: https://github.com/domdfcoding/flake8-dunder-all
rev: v0.3.0
rev: v0.3.1
hooks:
- id: ensure-dunder-all
files: ^dhcpd_configurator/.*\.py$

- repo: https://github.com/domdfcoding/flake2lint
rev: v0.4.2
rev: v0.4.3
hooks:
- id: flake2lint

Expand All @@ -76,18 +76,18 @@ repos:
- id: forbid-crlf

- repo: https://github.com/python-formate/snippet-fmt
rev: v0.1.4
rev: v0.1.5
hooks:
- id: snippet-fmt

- repo: https://github.com/python-formate/formate
rev: v0.5.0
rev: v0.7.0
hooks:
- id: formate
exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$

- repo: https://github.com/domdfcoding/dep_checker
rev: v0.7.1
rev: v0.8.0
hooks:
- id: dep_checker
args:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ dhcpd-configurator
:target: https://github.com/domdfcoding/dhcpd-configurator/commit/master
:alt: GitHub last commit

.. |maintained| image:: https://img.shields.io/maintenance/yes/2023
.. |maintained| image:: https://img.shields.io/maintenance/yes/2024
:alt: Maintenance

.. end shields
Expand Down
2 changes: 1 addition & 1 deletion formate.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ known_third_party = [
"pytest_randomly",
"pytest_timeout",
]
known_first_party = "dhcpd_configurator"
known_first_party = [ "dhcpd_configurator",]
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
# * envlists
# * testenv
# * testenv:.package
# * testenv:py313-dev
# * testenv:py312-dev
# * testenv:py312
# * testenv:docs
# * testenv:build
# * testenv:lint
Expand Down

0 comments on commit 40ba4e8

Please sign in to comment.