Commit graph

1895 commits

Author SHA1 Message Date
Anthony Sottile
018dbcd69a clean up _stdin_get_value_py3 2021-03-30 17:37:13 -07:00
Anthony Sottile
4d57a20ffd clean up readlines_py2 2021-03-30 17:37:13 -07:00
Anthony Sottile
3a85c8ce96 clean up string_types 2021-03-30 17:37:13 -07:00
Anthony Sottile
5b9edd04ee clean up lru_cache in compat 2021-03-30 17:37:13 -07:00
Anthony Sottile
358ae85120 automatic: pyupgrade --py36-plus 2021-03-30 17:37:13 -07:00
Anthony Sottile
8cc3fc01e8 some manual python2 metadata cleanup 2021-03-30 17:37:12 -07:00
Anthony Sottile
55f29c636f introduce pyupgrade, run it in python2-compatible mode 2021-03-29 20:21:36 -07:00
Anthony Sottile
1d5dd156ab Merge branch 'remove_setuptools_command' into 'master'
remove flake8 setuptools command

See merge request pycqa/flake8!470
2021-03-30 03:20:30 +00:00
Anthony Sottile
83fc824ca1 remove flake8 setuptools command 2021-03-29 20:15:45 -07:00
Anthony Sottile
00f92087da Merge branch 'yesqa' into 'master'
remove unused noqa comments

See merge request pycqa/flake8!469
2021-03-30 02:27:03 +00:00
Anthony Sottile
8ba8bc9fed remove unused noqa comments 2021-03-29 19:18:34 -07:00
Anthony Sottile
01d72d89b1 Merge branch 'remove_vcs_stuff' into 'master'
remove vcs integration

See merge request pycqa/flake8!468
2021-03-30 02:08:31 +00:00
Anthony Sottile
1a1d850e99 remove vcs integration 2021-03-29 19:01:59 -07:00
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