summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2019-09-07 23:49:47 -0700
committerAnthony Sottile <asottile@umich.edu>2019-09-07 23:49:47 -0700
commite42884cf608a91b1c98b2ca157885375d3ef9649 (patch)
tree981e7a3d63d6a3f863731dfa5f19815fc4b7ecf0
parent5cce7c2cc39dbd67b91a6ce9b0f1610e608a4b34 (diff)
downloadflake8-e42884cf608a91b1c98b2ca157885375d3ef9649.tar.gz
Add whitespace fixers
-rw-r--r--.pre-commit-config.yaml6
-rw-r--r--codecov.yml1
-rw-r--r--docs/source/release-notes/3.7.0.rst1
-rw-r--r--setup.cfg2
4 files changed, 7 insertions, 3 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 89b46f6..383c467 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,4 +1,10 @@
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
rev: v0.720
hooks:
diff --git a/codecov.yml b/codecov.yml
index 4098f51..f7fc0be 100644
--- a/codecov.yml
+++ b/codecov.yml
@@ -40,4 +40,3 @@ comment:
layout: "header, diff, changes, sunburst, uncovered, tree"
branches: null
behavior: default
-
diff --git a/docs/source/release-notes/3.7.0.rst b/docs/source/release-notes/3.7.0.rst
index 36cb149..75fcca5 100644
--- a/docs/source/release-notes/3.7.0.rst
+++ b/docs/source/release-notes/3.7.0.rst
@@ -83,4 +83,3 @@ Features
https://gitlab.com/pycqa/flake8/merge_requests/287
.. _GitLab!288:
https://gitlab.com/pycqa/flake8/merge_requests/288
-
diff --git a/setup.cfg b/setup.cfg
index 45cf4cf..55b291e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -59,7 +59,7 @@ distutils.commands=
flake8 = flake8.main.setuptools_command:Flake8
console_scripts =
flake8 = flake8.main.cli:main
-flake8.extension =
+flake8.extension =
F = flake8.plugins.pyflakes:FlakesChecker
pycodestyle.ambiguous_identifier = pycodestyle:ambiguous_identifier
pycodestyle.bare_except = pycodestyle:bare_except