Skip to content

Commit

Permalink
ci: bump + flake8 + isort args
Browse files Browse the repository at this point in the history
- bump black, pyupgrade
- flake8 comprehensions
- remove isort args that are no longer needed
  • Loading branch information
sbrugman authored and Simon Brugman committed Jun 23, 2021
1 parent a5c4cae commit 3a8be31
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .pre-commit-config.yaml
@@ -1,21 +1,23 @@
repos:
- repo: https://github.com/psf/black
rev: 20.8b1
rev: 21.4b0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.8.0
hooks:
- id: isort
files: '.*'
args: [ --profile=black, --project=popmon, --thirdparty histogrammar, --thirdparty pybase64 ]
args: [ --profile=black, --project=popmon ]
- repo: https://github.com/PyCQA/flake8
rev: "3.9.1"
hooks:
- id: flake8
args: [ "--select=E9,F63,F7,F82"]
additional_dependencies:
- flake8-comprehensions
args: [ "--select=E9,F63,F7,F82,C4"]
- repo: https://github.com/asottile/pyupgrade
rev: v2.12.0
rev: v2.13.0
hooks:
- id: pyupgrade
args: ['--py36-plus','--exit-zero-even-if-changed']

0 comments on commit 3a8be31

Please sign in to comment.