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
Anthony Sottile
1be8707dc7
Merge branch 'patch-1' into 'master'
...
Docs: Fix typo
See merge request pycqa/flake8!416
2020-03-25 20:33:10 +00:00
Hugo
9a481c186e
Fix typo
2020-03-25 20:29:47 +00:00
Anthony Sottile
eee1e7139d
Merge branch 'docs-glossary-fix' into 'master'
...
docs: Add missing semicolon to term link
See merge request pycqa/flake8!415
2020-03-25 18:53:21 +00:00
Vilhelm Prytz
41599cb6b8
docs: Add missing semicolon to term link
2020-03-25 19:45:46 +01:00
Anthony Sottile
ec4b0f6e0b
Merge branch 'tests_coverage' into 'master'
...
instrument coverage on tests and require 100% coverage there
See merge request pycqa/flake8!414
2020-03-23 19:35:54 +00:00
Anthony Sottile
93a17a806d
instrument coverage on tests and require 100% coverage there
2020-03-23 12:15:29 -07:00
Anthony Sottile
d097d5103d
Merge branch 'noqa_continuation' into 'master'
...
Allow noqa to apply to lines due to continuation
Closes #375
See merge request pycqa/flake8!413
2020-03-23 18:33:10 +00:00
Anthony Sottile
28797a57d8
Allow noqa to apply to lines due to continuation
2020-03-17 22:12:56 -07:00
Anthony Sottile
8f9b4931b9
Merge branch 'upgrade_pip_no_get_pip' into 'master'
...
Upgrade pip in gitlab ci without using get-pip.py
See merge request pycqa/flake8!411
2020-01-27 16:40:30 +00:00
Anthony Sottile
372b643a2b
Upgrade pip in gitlab ci without using get-pip.py
2020-01-27 08:37:04 -08:00
Anthony Sottile
ebba642268
Merge branch 'config-appdirs' into 'master'
...
config: Determine path to user configuration immediately
See merge request pycqa/flake8!409
2020-01-21 02:31:37 +00:00
Eric N. Vander Weele
aab1f14375
config: Determine path to user configuration immediately
...
Preemptively determine the path of the user configuration file during
the construction of the `ConfigFileFinder` object. The user
configuration path will always be the same, regardless of when it gets
obtained by a run of `flake8`.
This isolates the logic of determining the user configuration path into
a static helper method to be called to set the `.user_config_file`
attribute. The helper method leverages `utils.is_windows()`, instead of
reimplementing the check, and decomposes clearly the directory name and
the base name to construct the path with a single `return` path.
Additionally, this avoids reconstructing the path on demand of obtaining
the user configuration file path.
2020-01-20 16:54:50 -05:00