Skip to content

Commit

Permalink
Merge pull request #15 from pyscaffold/companion-pr704
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri authored Feb 21, 2023
2 parents 35e9464 + e40f8e6 commit 4fc96e8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ on:
# (useful to check if updates on dependencies break the package)
- cron: '0 0 1,16 * *'

permissions:
contents: read

concurrency:
group: >-
${{ github.workflow }}-${{ github.ref_type }}-
Expand Down Expand Up @@ -102,6 +105,8 @@ jobs:
needs: finalize
if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repos:
args: ['--py37-plus']

- repo: https://github.com/PyCQA/autoflake
rev: v2.0.0
rev: v2.0.1
hooks:
- id: autoflake
args: [
Expand All @@ -34,12 +34,12 @@ repos:
]

- repo: https://github.com/PyCQA/isort
rev: 5.11.4
rev: 5.11.5
hooks:
- id: isort

- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.1.0
hooks:
- id: black
language_version: python3
Expand All @@ -51,10 +51,10 @@ repos:
additional_dependencies: [black]

- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 5.0.4
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear]
additional_dependencies: [flake8-bugbear!=23.1.14]

- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
Expand Down

0 comments on commit 4fc96e8

Please sign in to comment.