forked from pool/python-flake8
f1e28beae6
- add fix_pycodestyle_240.patch to fix compatibility with pycodestyle version 2.4.0. fixes boo#1089438 - use %license macro for license file OBS-URL: https://build.opensuse.org/request/show/596722 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8?expand=0&rev=34
33 lines
1.3 KiB
Diff
33 lines
1.3 KiB
Diff
--- flake8-3.5.0/setup.py 2017-08-08 02:31:43.000000000 +0200
|
|
+++ flake8-3.5.0/setup.py 2018-04-15 15:08:31.063294441 +0200
|
|
@@ -22,7 +22,7 @@
|
|
# 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.0.0, < 2.5.0",
|
|
"mccabe >= 0.6.0, < 0.7.0",
|
|
"setuptools >= 30",
|
|
]
|
|
@@ -108,7 +108,8 @@
|
|
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'),
|
|
--- flake8-3.5.0/setup2.cfg 2017-10-23 13:16:02.000000000 +0200
|
|
+++ flake8-3.5.0/setup.cfg 2018-04-15 15:04:03.198239064 +0200
|
|
@@ -9,7 +9,7 @@
|
|
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.0.0, < 2.5.0
|
|
mccabe >= 0.6.0, < 0.7.0
|
|
|
|
[egg_info]
|