Update config

This commit is contained in:
Hugo van Kemenade 2020-09-11 23:44:57 +03:00
parent 99e0cc734a
commit 2d570b97ff
3 changed files with 10 additions and 12 deletions

View file

@ -2,9 +2,12 @@ name: Lint
on: [push, pull_request]
env:
FORCE_COLOR: 1
jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

View file

@ -14,22 +14,17 @@ repos:
files: \.pyi?$
types: []
- repo: https://github.com/PyCQA/isort
rev: 5.5.1
hooks:
- id: isort
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
hooks:
- id: flake8
additional_dependencies: [flake8-2020, flake8-implicit-str-concat]
- repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
hooks:
- id: seed-isort-config
- repo: https://github.com/timothycrosley/isort
rev: 5.4.2
hooks:
- id: isort
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.6.0
hooks:

View file

@ -2,4 +2,4 @@
max_line_length = 88
[tool:isort]
known_third_party = flaky,pkg_resources,pylast,pytest,setuptools
profile = black