diff --git a/setup.cfg b/setup.cfg
index d1c2524..a9d4e66 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -9,7 +9,7 @@ requires-dist =
enum34; python_version<"3.4"
configparser; python_version<"3.2"
pyflakes >= 1.5.0, < 1.7.0
- pycodestyle >= 2.0.0, < 2.4.0
+ pycodestyle >= 2.4.0, < 2.5.0
mccabe >= 0.6.0, < 0.7.0
[egg_info]
diff --git a/setup.py b/setup.py
index aa45e43..b156feb 100644
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ requires = [
# And in which releases we will update those ranges here:
# http://flake8.pycqa.org/en/latest/internal/releases.html#releasing-flake8
"pyflakes >= 1.5.0, < 1.7.0",
- "pycodestyle >= 2.0.0, < 2.4.0",
+ "pycodestyle >= 2.4.0, < 2.5.0",
"mccabe >= 0.6.0, < 0.7.0",
"setuptools >= 30",
]
@@ -108,7 +108,8 @@ setuptools.setup(
PEP8_PLUGIN('module_imports_on_top_of_file'),
PEP8_PLUGIN('compound_statements'),
PEP8_PLUGIN('explicit_line_join'),
- PEP8_PLUGIN('break_around_binary_operator'),
+ PEP8_PLUGIN('break_after_binary_operator'),
+ PEP8_PLUGIN('break_before_binary_operator'),
PEP8_PLUGIN('comparison_to_singleton'),
PEP8_PLUGIN('comparison_negative'),
PEP8_PLUGIN('comparison_type'),
@@ -118,6 +119,8 @@ setuptools.setup(
PEP8_PLUGIN('python_3000_raise_comma'),
PEP8_PLUGIN('python_3000_not_equal'),
PEP8_PLUGIN('python_3000_backticks'),
+ PEP8_PLUGIN('python_3000_invalid_escape_sequence'),
+ PEP8_PLUGIN('python_3000_async_await_keywords'),
],
'flake8.report': [
'default = flake8.formatting.default:Default',