summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Fix typos in --exclude-from-doctest docsPhilipp Fischbeck2020-10-031-3/+3
|/ / /
* | | Merge branch 'drop_py34' into 'master'Anthony Sottile2020-10-025-12/+2
|\ \ \ | | | | | | | | | | | | | | | | drop python3.4 See merge request pycqa/flake8!457
| * | | drop python3.4Anthony Sottile2020-10-025-12/+2
| | | |
* | | | Merge branch 'no_show_source' into 'master'Anthony Sottile2020-10-022-0/+32
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Add option to disable show-source for calling tools See merge request pycqa/flake8!441
| * | | Add option to disable show-source for calling toolsAnthony Sottile2020-06-192-0/+32
| | | |
* | | | Release 3.8.43.8.4Anthony Sottile2020-10-023-1/+25
| | | |
* | | | Merge branch 'py34_virtualenv_fix' into 'master'Anthony Sottile2020-10-021-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | limit the virtualenv version in python3.4 See merge request pycqa/flake8!456
| * | | | limit the virtualenv version in python3.4Anthony Sottile2020-10-021-0/+2
|/ / / /
* | | | Merge branch 'video' into 'master'Anthony Sottile2020-09-231-0/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | add video tutorial to plugin development page See merge request pycqa/flake8!453
| * | | | add video tutorial to plugin development pageAnthony Sottile2020-09-201-0/+13
|/ / / /
* | | | Merge branch 'spelling' into 'master'Anthony Sottile2020-09-2114-16/+16
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | fix a few small spelling issues See merge request pycqa/flake8!452
| * | | | fix a few small spelling issuesAnthony Sottile2020-09-2014-16/+16
|/ / / / | | | | | | | | | | | | found via `pre-commit try-repo https://github.com/codespell-project/codespell --all-files`
* | | | Merge branch 'fix_linting_end_of_file' into 'master'Anthony Sottile2020-09-153-4/+46
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | fix skipping of physical checks when file does not end in newline See merge request pycqa/flake8!451
| * | | | fix skipping of physical checks when file does not end in newlineAnthony Sottile2020-09-123-4/+46
|/ / / /
* | | | Merge branch 'docs-options-defaults' into 'master'Anthony Sottile2020-09-021-3/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Fix options docs to correct some defaults See merge request pycqa/flake8!450
| * | | | Fix options docs to correct some defaultsBrian Helba2020-09-021-3/+3
|/ / / / | | | | | | | | | | | | Commit f963641e932daed5ca5d71efa7293a9b756b8f76 changed some defaults, but did not update the docs.
* | | | Merge branch 'bugfix/cpython-3770-semopen-missing' into 'master'Anthony Sottile2020-08-272-11/+58
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Support linting when missing sem_open syscall See merge request pycqa/flake8!448
| * | | | Support linting when missing sem_open syscallNekokatt2020-08-272-11/+58
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge branch 'upgrade_black' into 'master'Anthony Sottile2020-08-274-14/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | upgrade black and run via pre-commit See merge request pycqa/flake8!449
| * | | | upgrade black and run via pre-commitAnthony Sottile2020-08-274-14/+13
|/ / / /
* | | | Merge branch 'fix_link' into 'master'Anthony Sottile2020-08-221-1/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | fix link in configuration docs See merge request pycqa/flake8!447
| * | | | fix link in configuration docsAnthony Sottile2020-08-221-1/+4
|/ / / /
* | | | Merge branch 'patch-1' into 'master'Anthony Sottile2020-08-221-1/+21
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add note to configuration.rst that inline comments are not supported Closes #682 See merge request pycqa/flake8!446
| * | | | add note to configuration.rst that inline comments are not supportedJanosh Riebesell2020-08-211-1/+21
|/ / / /
* | | | Merge branch 'patch-2' into 'master'Ian Stapleton Cordasco2020-07-281-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Fixed misprint. See merge request pycqa/flake8!445
| * | | | Fixed misprint.Max Grishkin2020-07-281-1/+1
| | | | |
* | | | | Merge branch 'patch-1' into 'master'Ian Stapleton Cordasco2020-07-281-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | Update registering-plugins.rst See merge request pycqa/flake8!444
| * | | | Update registering-plugins.rstMax Grishkin2020-07-281-1/+1
|/ / / /
* | | | Merge branch 'pytest6' into 'master'Anthony Sottile2020-07-201-0/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Tests: Add a value to mocked entry_points, so pytest 6+ can log it See merge request pycqa/flake8!443
| * | | Tests: Add a value to mocked entry_points, so pytest 6+ can log itMiro HronĨok2020-07-201-0/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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'
* | | Merge branch 'ban_sphinx_3_1_0' into 'master'Anthony Sottile2020-06-081-1/+1
|\ \ \ | | | | | | | | | | | | | | | | skip sphinx 3.1.0 See merge request pycqa/flake8!438
| * | | skip sphinx 3.1.0Anthony Sottile2020-06-081-1/+1
|/ / / | | | | | | | | | See https://github.com/sphinx-doc/sphinx/issues/7807
* | | Release 3.8.33.8.3Anthony Sottile2020-06-083-1/+31
| | |
* | | Merge branch 'doctests-flag-desc' into 'master'Anthony Sottile2020-06-071-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Doctest documentation unclear Closes #659 See merge request pycqa/flake8!436
| * | | Help clarify the option behaviourmsmetko2020-06-071-1/+1
|/ / /
* | | Merge branch 'issues/665' into 'master'Anthony Sottile2020-06-052-0/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fix JobsArgument --help output Closes #665 See merge request pycqa/flake8!434
| * | | fix JobsArgument --help outputRuairidh MacLeod2020-06-052-0/+10
|/ / /
* | | Merge branch 'issue-662' into 'master'Anthony Sottile2020-06-022-1/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | processor: Catch SyntaxError also when generating tokens for a file Closes #662 See merge request pycqa/flake8!433
| * | | processor: Catch SyntaxError also when generating tokens for a fileEric N. Vander Weele2020-06-022-1/+12
|/ / / | | | | | | | | | | | | `tokenize.generate_tokens()` can also raise `SyntaxError` in addition to `tokenize.TokenError`.
* | | Release 3.8.23.8.2Anthony Sottile2020-05-224-4/+43
| | |
* | | Merge branch 'extend_exclude_is_files' into 'master'Anthony Sottile2020-05-212-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | treat --extend-exclude as a file list Closes #653 See merge request pycqa/flake8!432
| * | | treat --extend-exclude as a file listAnthony Sottile2020-05-212-1/+2
|/ / /
* | | Merge branch 'opt-config-relative-to' into 'master'Anthony Sottile2020-05-212-11/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Normalize paths in CLI-specified config relative to config file's directory Closes #651 See merge request pycqa/flake8!431
| * | | config: Normalize paths in CLI-specified config relative to config dirEric N. Vander Weele2020-05-182-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | config: Normalize paths in config relative to provided parent directoryEric N. Vander Weele2020-05-181-4/+7
|/ / / | | | | | | | | | | | | | | | 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.
* | | Merge branch 'master' into 'master'Anthony Sottile2020-05-134-10/+56
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Parse --jobs as a custom argparse type. Fixes #567 Closes #567 See merge request pycqa/flake8!428
| * | | Parse --jobs as a custom argparse type. Fixes #567Ruairidh MacLeod2020-05-134-10/+56
|/ / /
* | | Merge branch 'useless-sort' into 'master'Anthony Sottile2020-05-131-3/+1
|\ \ \ | | | | | | | | | | | | | | | | Manager.run_parallel: Remove useless sort by (column, column) See merge request pycqa/flake8!429
| * | | Manager.run_parallel: Remove useless sort by (column, column)Anders Kaseorg2020-05-121-3/+1
|/ / / | | | | | | | | | | | | | | | Manager.report later sorts the results correctly by (line, column). Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* | | Release 3.8.13.8.1Anthony Sottile2020-05-113-1/+25
| | |