Skip to content

Commit 002b956

Browse files
committed
Bump Black and Flake8 deps
1 parent a1639ef commit 002b956

File tree

3 files changed

+34
-33
lines changed

3 files changed

+34
-33
lines changed

.pre-commit-config.yaml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,58 @@
11
repos:
2-
- repo: https://github.com/psf/black
3-
rev: 19.10b0
2+
- repo: https://github.com/psf/black
3+
rev: 20.8b1 # also bump this in Pipfile
44
hooks:
5-
- id: black
5+
- id: black
66
args: [--safe, --quiet]
7-
- repo: https://github.com/asottile/blacken-docs
7+
- repo: https://github.com/asottile/blacken-docs
88
rev: v1.7.0
99
hooks:
10-
- id: blacken-docs
11-
additional_dependencies: [black==19.10b0]
12-
- repo: https://github.com/pre-commit/pre-commit-hooks
10+
- id: blacken-docs
11+
additional_dependencies: [black==20.8b1] # also bump this in Pipfile
12+
- repo: https://github.com/pre-commit/pre-commit-hooks
1313
rev: v3.1.0
1414
hooks:
15-
- id: trailing-whitespace
16-
- id: end-of-file-fixer
17-
- id: fix-encoding-pragma
15+
- id: trailing-whitespace
16+
- id: end-of-file-fixer
17+
- id: fix-encoding-pragma
1818
args: [--remove]
19-
- id: check-yaml
20-
- id: debug-statements
19+
- id: check-yaml
20+
- id: debug-statements
2121
language_version: python3
22-
- repo: https://gitlab.com/pycqa/flake8
23-
rev: 3.8.2
22+
- repo: https://gitlab.com/pycqa/flake8
23+
rev: 3.8.4 # also bump this in Pipfile
2424
hooks:
25-
- id: flake8
25+
- id: flake8
2626
language_version: python3
2727
additional_dependencies:
28-
- flake8-builtins==1.5.3
29-
- flake8-typing-imports==1.9.0
30-
- repo: https://github.com/asottile/reorder_python_imports
28+
- flake8-builtins==1.5.3
29+
- flake8-typing-imports==1.9.0
30+
- repo: https://github.com/asottile/reorder_python_imports
3131
rev: v2.3.0
3232
hooks:
33-
- id: reorder-python-imports
34-
args: ['--application-directories=.:src:testing', --py3-plus]
35-
- repo: https://github.com/asottile/pyupgrade
33+
- id: reorder-python-imports
34+
args: ["--application-directories=.:src:testing", --py3-plus]
35+
- repo: https://github.com/asottile/pyupgrade
3636
rev: v2.4.4
3737
hooks:
38-
- id: pyupgrade
38+
- id: pyupgrade
3939
args: [--py3-plus]
40-
- repo: https://github.com/pre-commit/mirrors-eslint
40+
- repo: https://github.com/pre-commit/mirrors-eslint
4141
rev: v7.13.0
4242
hooks:
43-
- id: eslint
43+
- id: eslint
4444
additional_dependencies:
45-
45+
4646
args: [src]
47-
- repo: local
47+
- repo: local
4848
hooks:
49-
- id: rst
49+
- id: rst
5050
name: rst
5151
entry: rst-lint --encoding utf-8
5252
files: ^(CHANGES.rst|development.rst|README.rst)$
5353
language: python
5454
additional_dependencies: [pygments, restructuredtext_lint]
55-
- repo: https://github.com/elidupuis/mirrors-sass-lint
56-
rev: '5cc45653263b423398e4af2561fae362903dd45d'
55+
- repo: https://github.com/elidupuis/mirrors-sass-lint
56+
rev: "5cc45653263b423398e4af2561fae362903dd45d"
5757
hooks:
58-
- id: sass-lint
58+
- id: sass-lint

Pipfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ verify_ssl = true
66
[dev-packages]
77
pytest = "*"
88
tox = "*"
9-
flake8 = "*"
10-
black = "*"
9+
flake8 = "==3.8.4" # also bump this in .pre-commit-config.yaml
10+
black = "==20.8b1" # also bump this in .pre-commit-config.yaml
1111
pre-commit = "*"
1212

1313
[packages]

testing/test_pytest_html.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,8 @@ def test_foo(val):
898898
assert_results(html, passed=1)
899899

900900
@pytest.mark.parametrize(
901-
"with_ansi", [True, False],
901+
"with_ansi",
902+
[True, False],
902903
)
903904
def test_ansi_color(self, testdir, mocker, with_ansi):
904905
if not with_ansi:

0 commit comments

Comments
 (0)