Anthony Sottile
e8afdffc8a
Merge branch 'fix_link' into 'master'
...
fix link in configuration docs
See merge request pycqa/flake8!447
2020-08-22 20:13:04 +00:00
Anthony Sottile
9e41e13627
fix link in configuration docs
2020-08-22 13:09:16 -07:00
Anthony Sottile
2200c1a82c
Merge branch 'patch-1' into 'master'
...
add note to configuration.rst that inline comments are not supported
Closes #682
See merge request pycqa/flake8!446
2020-08-22 01:15:30 +00:00
Janosh Riebesell
d079132883
add note to configuration.rst that inline comments are not supported
2020-08-21 18:12:19 -07:00
Ian Stapleton Cordasco
e897cfac39
Merge branch 'patch-2' into 'master'
...
Fixed misprint.
See merge request pycqa/flake8!445
2020-07-28 18:37:25 +00:00
Ian Stapleton Cordasco
9d0115cd07
Merge branch 'patch-1' into 'master'
...
Update registering-plugins.rst
See merge request pycqa/flake8!444
2020-07-28 18:37:05 +00:00
Max Grishkin
f82bceffaf
Fixed misprint.
2020-07-28 18:18:58 +00:00
Max Grishkin
6dde678564
Update registering-plugins.rst
2020-07-28 18:08:55 +00:00
Anthony Sottile
029fa1d797
Merge branch 'pytest6' into 'master'
...
Tests: Add a value to mocked entry_points, so pytest 6+ can log it
See merge request pycqa/flake8!443
2020-07-20 15:54:12 +00:00
Miro Hrončok
91b09d5b37
Tests: Add a value to mocked entry_points, so pytest 6+ can log it
...
Pytest 6.0.0rc1 attempts to log a repr of our mocked entry_point,
but it fails, becasue the repr metohod expects a valua attribute:
Reproducer:
$ tox -e py38 --force-dep 'pytest==6.0.0rc1'
...
Traceback (most recent call last):
File "/usr/lib/python3.8/logging/__init__.py", line 1081, in emit
msg = self.format(record)
File "/usr/lib/python3.8/logging/__init__.py", line 925, in format
return fmt.format(record)
File "/usr/lib/python3.8/logging/__init__.py", line 664, in format
record.message = record.getMessage()
File "/usr/lib/python3.8/logging/__init__.py", line 369, in getMessage
msg = msg % self.args
File "/tmp/flake8/.tox/py38/lib/python3.8/site-packages/flake8/plugins/manager.py", line 44, in __repr__
self.name, self.entry_point.value
File "/tmp/flake8/.tox/py38/lib/python3.8/site-packages/mock/mock.py", line 632, in __getattr__
raise AttributeError("Mock object has no attribute %r" % name)
AttributeError: Mock object has no attribute 'value'
2020-07-20 17:49:12 +02:00
Anthony Sottile
a7be77f761
Merge branch 'ban_sphinx_3_1_0' into 'master'
...
skip sphinx 3.1.0
See merge request pycqa/flake8!438
2020-06-08 21:54:33 +00:00
Anthony Sottile
c778fbf680
skip sphinx 3.1.0
...
See https://github.com/sphinx-doc/sphinx/issues/7807
2020-06-08 14:50:31 -07:00
Anthony Sottile
181bb46098
Release 3.8.3
2020-06-08 12:27:04 -07:00
Anthony Sottile
3d68da9e8e
Merge branch 'doctests-flag-desc' into 'master'
...
Doctest documentation unclear
Closes #659
See merge request pycqa/flake8!436
2020-06-07 19:50:11 +00:00
msmetko
e817c63ab1
Help clarify the option behaviour
2020-06-07 14:32:43 +02:00
Anthony Sottile
b6d3fcacff
Merge branch 'issues/665' into 'master'
...
fix JobsArgument --help output
Closes #665
See merge request pycqa/flake8!434
2020-06-05 19:00:02 +00:00
Ruairidh MacLeod
9b8f908314
fix JobsArgument --help output
2020-06-05 14:25:57 +01:00
Anthony Sottile
94304de684
Merge branch 'issue-662' into 'master'
...
processor: Catch SyntaxError also when generating tokens for a file
Closes #662
See merge request pycqa/flake8!433
2020-06-02 18:42:09 +00:00
Eric N. Vander Weele
a68d4d0172
processor: Catch SyntaxError also when generating tokens for a file
...
`tokenize.generate_tokens()` can also raise `SyntaxError` in addition to
`tokenize.TokenError`.
2020-06-02 11:38:44 -07:00
Anthony Sottile
40716454a2
Release 3.8.2
2020-05-22 15:36:22 -07:00
Anthony Sottile
b9fe4d601c
Merge branch 'extend_exclude_is_files' into 'master'
...
treat --extend-exclude as a file list
Closes #653
See merge request pycqa/flake8!432
2020-05-21 23:44:49 +00:00
Anthony Sottile
31c2f9f366
treat --extend-exclude as a file list
2020-05-21 16:41:02 -07:00
Anthony Sottile
d95f9cf0fe
Merge branch 'opt-config-relative-to' into 'master'
...
Normalize paths in CLI-specified config relative to config file's directory
Closes #651
See merge request pycqa/flake8!431
2020-05-21 23:37:50 +00:00
Eric N. Vander Weele
563220b711
config: Normalize paths in CLI-specified config relative to config dir
...
Paths specified in configuration files should be relative to the
directory where the configuration file resides. Formerly, paths were
normalized relative to the current working directory where `flake8` was
invoked. The former behavior was not expected, especially for directory
structures with subprojects each having their own configuration.
2020-05-18 17:23:08 -04:00
Eric N. Vander Weele
8be5a7294b
config: Normalize paths in config relative to provided parent directory
...
This sets things up to support normalizing paths relative to parent
directories specified by callers who have more context for determining
what paths should be relative to.
2020-05-18 17:22:34 -04:00
Anthony Sottile
c8494e7ac0
Merge branch 'master' into 'master'
...
Parse --jobs as a custom argparse type. Fixes #567
Closes #567
See merge request pycqa/flake8!428
2020-05-13 20:29:34 +00:00
Ruairidh MacLeod
45573570cf
Parse --jobs as a custom argparse type. Fixes #567
2020-05-13 13:25:51 -07:00
Anthony Sottile
666be736e0
Merge branch 'useless-sort' into 'master'
...
Manager.run_parallel: Remove useless sort by (column, column)
See merge request pycqa/flake8!429
2020-05-13 19:21:08 +00:00
Anders Kaseorg
f17de702a5
Manager.run_parallel: Remove useless sort by (column, column)
...
Manager.report later sorts the results correctly by (line, column).
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-05-12 22:54:06 -07:00
Anthony Sottile
f94e0095fd
Release 3.8.1
2020-05-11 22:29:53 -07:00
Anthony Sottile
00985a64bc
Merge branch 'issue638-ouput-file' into 'master'
...
options: Forward `--output-file` to be reparsed for BaseFormatter
Closes #637
See merge request pycqa/flake8!427
2020-05-12 05:21:11 +00:00
Eric N. Vander Weele
e6d8a90e5d
options: Forward --output-file to be reparsed for BaseFormatter
...
This fixes a regression introduced in daca2c8 and b14d47b .
The --output-file` option was consumed by the preliminary option parser.
However, the `BaseFormatter` class needs the option for setting the
output filename. This special cases this option to ensure it gets
re-parsed and respected when specified on the CLI.
2020-05-11 22:17:52 -07:00
Anthony Sottile
b4d2850192
Release 3.8.0
2020-05-11 13:42:34 -07:00
Anthony Sottile
03c7dd3a8d
Merge branch 'exclude_dotfiles' into 'master'
...
Fix using --exclude=.* to not match `.` and `..`
Closes #632
See merge request pycqa/flake8!424
2020-05-07 19:38:30 +00:00
Anthony Sottile
9e67511c69
Fix using --exclude=.* to not match . and ..
2020-05-07 12:34:38 -07:00
Anthony Sottile
6c4b5c85c6
Merge branch 'linters_py3' into 'master'
...
switch dogfood to use python3
See merge request pycqa/flake8!423
2020-05-07 18:35:08 +00:00
Anthony Sottile
309db63ba8
switch dogfood to use python3
2020-05-07 11:29:37 -07:00
Anthony Sottile
8905a7af9e
Merge branch 'logical_position_out_of_bounds' into 'master'
...
Fix logical checks which report position out of bounds
Closes #635
See merge request pycqa/flake8!422
2020-05-07 18:25:36 +00:00
Anthony Sottile
609010ce7a
Fix logical checks which report position out of bounds
2020-05-07 11:16:00 -07:00
Anthony Sottile
0c3b8045a7
Merge branch 'deprecate_git_hook' into 'master'
...
Add deprecation message for vcs hooks
Closes #568
See merge request pycqa/flake8!420
2020-04-27 20:03:51 +00:00
Anthony Sottile
1649827396
exclude broken pylint version
...
https://github.com/PyCQA/pylint/issues/3524
2020-04-27 13:00:17 -07:00
Anthony Sottile
43b14ff2d7
Add deprecation message for git hook
2020-04-27 12:55:07 -07:00
Anthony Sottile
0cdc1b9efe
Release 3.8.0a2
2020-04-24 10:58:11 -07:00
Anthony Sottile
6f28112957
Merge branch 'keyerror_str' into 'master'
...
Fix type='str' optparse options
See merge request pycqa/flake8!419
2020-04-24 17:47:26 +00:00
Anthony Sottile
3b490bb3c5
Fix type='str' optparse options
2020-04-24 10:43:54 -07:00
Anthony Sottile
2cb1c65c99
Release 3.8.0.a1
2020-04-24 10:34:39 -07:00
Anthony Sottile
7319beabc2
Merge branch 'latest_pycodestyle' into 'master'
...
Allow the new pycodestyle alpha
See merge request pycqa/flake8!418
2020-04-24 00:59:03 +00:00
Anthony Sottile
275b2320b5
Allow the new pycodestyle alpha
2020-04-23 15:13:41 -07:00
Anthony Sottile
6efb15cecb
Merge branch 'pyflakes_2_2' into 'master'
...
Support pyflakes 2.2.x
Closes #625
See merge request pycqa/flake8!417
2020-04-15 19:34:24 +00:00
Anthony Sottile
76eeccad89
Support pyflakes 2.2.x
2020-04-11 15:00:52 -07:00