Skip to content

Commit

Permalink
Update URL to flake8 to fix precommit job. (#398)
Browse files Browse the repository at this point in the history
* Update URL to flake8 to fix precommit job.

In principle this could use a bigger makeover; specifically
reviewing the versions of all the hooks. In practice most of them
should be replaced with ruff.

* Rm token.
  • Loading branch information
rossbar committed Jan 26, 2023
1 parent c8982aa commit 4b5a727
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/precommithooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
hooks:
- id: isort

- repo: https://gitlab.com/pycqa/flake8
- repo: https://github.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
Expand Down

0 comments on commit 4b5a727

Please sign in to comment.