Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#70021 - python-pycodestyle-2.7.0 breaks flake8
Attached to Project:
Community Packages
Opened by Mark Blakeney (bulletmark) - Tuesday, 16 March 2021, 23:12 GMT
Last edited by Felix Yan (felixonmars) - Wednesday, 17 March 2021, 12:12 GMT
Opened by Mark Blakeney (bulletmark) - Tuesday, 16 March 2021, 23:12 GMT
Last edited by Felix Yan (felixonmars) - Wednesday, 17 March 2021, 12:12 GMT
|
DetailsI update every day and today I had the following update:
2021-03-17 07:36:36 python-pycodestyle 2.6.0-3 -> 2.7.0-1 As of today, when I run flake8 I get: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 418, in run_check self.processor.keyword_arguments_for( File "/usr/lib/python3.9/site-packages/flake8/processor.py", line 251, in keyword_arguments_for arguments[param] = getattr(self, param) AttributeError: 'FileProcessor' object has no attribute 'indent_size' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/flake8", line 33, in <module> sys.exit(load_entry_point('flake8==3.8.4', 'console_scripts', 'flake8')()) File "/usr/lib/python3.9/site-packages/flake8/main/cli.py", line 22, in main app.run(argv) File "/usr/lib/python3.9/site-packages/flake8/main/application.py", line 363, in run self._run(argv) File "/usr/lib/python3.9/site-packages/flake8/main/application.py", line 351, in _run self.run_checks() File "/usr/lib/python3.9/site-packages/flake8/main/application.py", line 264, in run_checks self.file_checker_manager.run() File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 323, in run self.run_serial() File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 307, in run_serial checker.run_checks() File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 588, in run_checks self.process_tokens() File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 577, in process_tokens self.handle_newline(token_type) File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 612, in handle_newline self.run_logical_checks() File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 513, in run_logical_checks results = self.run_check(plugin, logical_line=logical_line) or () File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 423, in run_check raise exceptions.PluginRequestedUnknownParameters( flake8.exceptions.PluginRequestedUnknownParameters: "pycodestyle" requested unknown parameters causing 'FileProcessor' object has no attribute 'indent_size' If I downgrade python-pycodestyle to 2.6.0-3 then it works normally. |
This task depends upon
Closed by Felix Yan (felixonmars)
Wednesday, 17 March 2021, 12:12 GMT
Reason for closing: Fixed
Additional comments about closing: Updated flake8 to 3.9.0
Wednesday, 17 March 2021, 12:12 GMT
Reason for closing: Fixed
Additional comments about closing: Updated flake8 to 3.9.0
[1] https://github.com/PyCQA/flake8/commit/ac9c66e80bed84e78fbb803e6dd9e33cc4c741ca