Anthony Sottile
434c108f74
Release 3.9.0
2021-03-14 16:29:54 -07:00
Anthony Sottile
7c96c1e901
Merge branch 'pycodestyle_2_7_0' into 'master'
...
upgrade pycodestyle to 2.7.0
See merge request pycqa/flake8!467
2021-03-14 19:09:43 +00:00
Anthony Sottile
40aba49d0d
upgrade pycodestyle to 2.7.0
2021-03-14 11:58:03 -07:00
valentin
ac9c66e80b
Add indent-size option
2021-03-14 11:53:03 -07:00
Anthony Sottile
fd71b86509
Merge branch 'pyflakes_3_3' into 'master'
...
upgrade pyflakes to 2.3.x
See merge request pycqa/flake8!466
2021-03-14 17:09:42 +00:00
Anthony Sottile
1eccf9a55f
upgrade pyflakes to 2.3.x
2021-03-14 09:40:01 -07:00
Ian Stapleton Cordasco
6de8252c03
Merge branch 'crlf_stdin' into 'master'
...
ensure crlf line endings of stdin are handled properly
See merge request pycqa/flake8!461
2021-01-07 23:32:08 +00:00
Anthony Sottile
0bf8d2a885
ensure crlf line endings of stdin are handled properly
2021-01-07 09:15:46 -08:00
Anthony Sottile
ff433b2e64
Merge branch 'fix_linters' into 'master'
...
fix test which was not testing anything
See merge request pycqa/flake8!462
2021-01-07 17:05:23 +00:00
Anthony Sottile
14857c98e0
fix test which was not testing anything
2021-01-07 08:57:13 -08:00
Anthony Sottile
39ceae7491
Merge branch 'remove_flake8_colors' into 'master'
...
remove flake8-colors
See merge request pycqa/flake8!460
2020-11-18 07:46:02 +00:00
Anthony Sottile
d2b8770b3f
remove flake8-colors
...
they break `--format` in incompatible ways:
https://github.com/and3rson/flake8-colors/issues/12
2020-11-17 23:41:59 -08:00
Anthony Sottile
5f0ce1ff52
Merge branch 'rm_output_file_outdated_docs' into 'master'
...
remove outdated output-file configuration docs
See merge request pycqa/flake8!459
2020-11-14 00:18:34 +00:00
Anthony Sottile
14814b29ec
remove outdated output-file configuration docs
2020-11-13 16:14:45 -08:00
Anthony Sottile
a4aeb2e209
Merge branch 'patch-1' into 'master'
...
Fix typos in --exclude-from-doctest docs
See merge request pycqa/flake8!455
2020-10-03 14:38:56 +00:00
Philipp Fischbeck
c91a82ce87
Fix typos in --exclude-from-doctest docs
2020-10-03 09:56:14 +02:00
Anthony Sottile
0f9a4b7606
Merge branch 'drop_py34' into 'master'
...
drop python3.4
See merge request pycqa/flake8!457
2020-10-02 23:51:02 +00:00
Anthony Sottile
a021df6fdd
drop python3.4
2020-10-02 16:47:00 -07:00
Anthony Sottile
0efbb5dbcb
Merge branch 'no_show_source' into 'master'
...
Add option to disable show-source for calling tools
See merge request pycqa/flake8!441
2020-10-02 23:40:04 +00:00
Anthony Sottile
fb91b994ed
Release 3.8.4
2020-10-02 16:29:58 -07:00
Anthony Sottile
b5b4792f70
Merge branch 'py34_virtualenv_fix' into 'master'
...
limit the virtualenv version in python3.4
See merge request pycqa/flake8!456
2020-10-02 21:12:50 +00:00
Anthony Sottile
d3c55c1763
limit the virtualenv version in python3.4
2020-10-02 14:09:27 -07:00
Anthony Sottile
d0a0cb46d2
Merge branch 'video' into 'master'
...
add video tutorial to plugin development page
See merge request pycqa/flake8!453
2020-09-23 06:06:52 +00:00
Anthony Sottile
eb9ca33fe7
add video tutorial to plugin development page
2020-09-20 19:58:57 -07:00
Anthony Sottile
a42d8cbed4
Merge branch 'spelling' into 'master'
...
fix a few small spelling issues
See merge request pycqa/flake8!452
2020-09-21 02:21:12 +00:00
Anthony Sottile
2fe70dda6b
fix a few small spelling issues
...
found via `pre-commit try-repo https://github.com/codespell-project/codespell --all-files`
2020-09-20 19:16:10 -07:00
Anthony Sottile
93209ffac9
Merge branch 'fix_linting_end_of_file' into 'master'
...
fix skipping of physical checks when file does not end in newline
See merge request pycqa/flake8!451
2020-09-15 23:46:05 +00:00
Anthony Sottile
ee9c2874a9
fix skipping of physical checks when file does not end in newline
2020-09-12 12:03:23 -07:00
Anthony Sottile
2c64d3ec5a
Merge branch 'docs-options-defaults' into 'master'
...
Fix options docs to correct some defaults
See merge request pycqa/flake8!450
2020-09-02 15:59:45 +00:00
Brian Helba
76b7e0c23e
Fix options docs to correct some defaults
...
Commit f963641e93 changed some defaults,
but did not update the docs.
2020-09-02 13:33:18 +00:00
Anthony Sottile
3765318dcf
Merge branch 'bugfix/cpython-3770-semopen-missing' into 'master'
...
Support linting when missing sem_open syscall
See merge request pycqa/flake8!448
2020-08-27 22:44:56 +00:00
Nekokatt
e6a5f6a663
Support linting when missing sem_open syscall
...
Platforms such as Termux on Android, and other exotic devices
do not provide a sem_open implementation on the OS level. This
is problematic, as the error resulting from this occurs when
calling multiprocessing.Pool, throwing an unhandled ImportError.
The issue itself is outlined in https://bugs.python.org/issue3770 .
This change allows devices missing this system call to respond
to the missing feature by falling back to synchronous execution,
which appears to be the default behaviour if the multiprocessing
module is not found.
This change also adds a potential fix for developers working
on platforms where multiprocessing itself cannot be imported.
The existing code would set the name referencing the import to
None, but there are no clear checks to ensure this does not
result in an AttributeError later when multiprocessing.Pool
has accession attempts.
Existing users should see no difference in functionality, as they
will assumably already be able to use flake8, so will not be
missing this sem_open call.
Users on devices without the sem_open call will now be able
to use flake8 where they would be unable to before due to
unhandled ImportErrors.
2020-08-27 15:41:25 -07:00
Anthony Sottile
abdc9b14d6
Merge branch 'upgrade_black' into 'master'
...
upgrade black and run via pre-commit
See merge request pycqa/flake8!449
2020-08-27 22:33:44 +00:00
Anthony Sottile
f0e1324d6d
upgrade black and run via pre-commit
2020-08-27 15:30:14 -07:00
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
b40af6737e
Add option to disable show-source for calling tools
2020-06-19 10:01:04 -07: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