Merge branch 'whitespace_fixers' into 'master'

Add whitespace fixers

See merge request pycqa/flake8!355
This commit is contained in:
Anthony Sottile 2019-09-08 06:50:11 +00:00
commit ee0cdee4af
4 changed files with 7 additions and 3 deletions

View file

@ -1,4 +1,10 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
exclude: ^tests/fixtures/diffs/
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.720 rev: v0.720
hooks: hooks:

View file

@ -40,4 +40,3 @@ comment:
layout: "header, diff, changes, sunburst, uncovered, tree" layout: "header, diff, changes, sunburst, uncovered, tree"
branches: null branches: null
behavior: default behavior: default

View file

@ -83,4 +83,3 @@ Features
https://gitlab.com/pycqa/flake8/merge_requests/287 https://gitlab.com/pycqa/flake8/merge_requests/287
.. _GitLab!288: .. _GitLab!288:
https://gitlab.com/pycqa/flake8/merge_requests/288 https://gitlab.com/pycqa/flake8/merge_requests/288

View file

@ -59,7 +59,7 @@ distutils.commands=
flake8 = flake8.main.setuptools_command:Flake8 flake8 = flake8.main.setuptools_command:Flake8
console_scripts = console_scripts =
flake8 = flake8.main.cli:main flake8 = flake8.main.cli:main
flake8.extension = flake8.extension =
F = flake8.plugins.pyflakes:FlakesChecker F = flake8.plugins.pyflakes:FlakesChecker
pycodestyle.ambiguous_identifier = pycodestyle:ambiguous_identifier pycodestyle.ambiguous_identifier = pycodestyle:ambiguous_identifier
pycodestyle.bare_except = pycodestyle:bare_except pycodestyle.bare_except = pycodestyle:bare_except