summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* write directly to sys.stdout.buffer to avoid windows io encodingAnthony Sottile2021-09-081-1/+2
|
* Handle new SyntaxError tuple on 3.10Ian Stapleton Cordasco2021-08-151-3/+15
| | | | Closes #1372
* Update --indent-size help format stringJacob Hayes2021-08-011-1/+1
|
* [pre-commit.ci] auto fixes from pre-commit.com hookspre-commit-ci[bot]2021-05-241-2/+2
| | | | for more information, see https://pre-commit.ci
* Automatically create output directoriesJouke Witteveen2021-05-101-0/+3
|
* Merge tag '3.9.2'Anthony Sottile2021-05-081-1/+1
|\ | | | | | | Release 3.9.2
| * Release 3.9.23.9.2Anthony Sottile2021-05-081-1/+1
| |
| * Merge pull request #1328 from PyCQA/fix_indent_size_strAnthony Sottile2021-05-081-2/+2
| | | | | | correct and deprecate the value of indent_size_str
* | correct and deprecate the value of indent_size_strAnthony Sottile2021-05-081-2/+2
| |
* | short circuit on ast error before tokenization errorAnthony Sottile2021-04-183-67/+33
| |
* | extend black formatting to tests as wellAnthony Sottile2021-04-188-30/+10
| |
* | Merge tag '3.9.1'Anthony Sottile2021-04-151-1/+1
|\ \ | |/ | | | | Release 3.9.1
| * Release 3.9.13.9.1Anthony Sottile2021-04-151-1/+1
| |
| * Fix bug for plugins using extend_default_ignoreIan Stapleton Cordasco2021-04-152-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Flake8 3.0 we've had the ability for plugins to use `extend_default_ignore` to register codes they want disabled by default. This, however, was a permanent disabling unfortunately. Our code didn't have a way of understanding that this new set of `ignore` codes was actually the 'default' set for that run. Much like the extended_select_list, we now attach extended_ignore_list to be able to confidently determine if the ignore we get in the DecisionEngine is actually the Default Ignore list and what plugins what us to ignore by default. Refs https://github.com/PyCQA/pep8-naming/pull/157
* | Fix bug for plugins using extend_default_ignorefix-extend-default-ignoreIan Stapleton Cordasco2021-04-152-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Flake8 3.0 we've had the ability for plugins to use `extend_default_ignore` to register codes they want disabled by default. This, however, was a permanent disabling unfortunately. Our code didn't have a way of understanding that this new set of `ignore` codes was actually the 'default' set for that run. Much like the extended_select_list, we now attach extended_ignore_list to be able to confidently determine if the ignore we get in the DecisionEngine is actually the Default Ignore list and what plugins what us to ignore by default. Refs https://github.com/PyCQA/pep8-naming/pull/157
* | Add --extend-select command line argumentFrank Winklmeier2021-04-112-1/+21
| | | | | | | | | | | | | | | | | | Implement `--extend-select` command line argument following what was done for `--extend-ignore` in !233. This option can be used to selectively add individual codes without overriding the default list entirely. Addresses the remaining item of issue #1061.
* | improve code coverage in a few placesAnthony Sottile2021-04-072-17/+2
| |
* | fix mypy errorsAnthony Sottile2021-04-075-30/+56
| |
* | Merge pull request #43 from sobolevn/patch-1Anthony Sottile2021-04-031-1/+1
|\ \ | | | | | | Typo fix
| * | Typo fixNikita Sobolev2021-03-221-1/+1
| |/
* | fix links in codeAnthony Sottile2021-04-031-6/+6
| |
* | audit + string joiningAnthony Sottile2021-03-305-11/+10
| |
* | audit % format callsAnthony Sottile2021-03-304-9/+9
| |
* | audit .format(...) callsAnthony Sottile2021-03-305-21/+9
| |
* | com2annAnthony Sottile2021-03-3019-389/+361
| |
* | clean up TYPE_CHECKING importsAnthony Sottile2021-03-307-12/+16
| |
* | clean up OrderedDictAnthony Sottile2021-03-301-7/+5
| |
* | clean up version_info referencesAnthony Sottile2021-03-302-27/+12
| |
* | clean up _stdin_get_value_py3Anthony Sottile2021-03-301-7/+3
| |
* | clean up readlines_py2Anthony Sottile2021-03-301-16/+2
| |
* | clean up string_typesAnthony Sottile2021-03-302-9/+6
| |
* | clean up lru_cache in compatAnthony Sottile2021-03-303-7/+6
| |
* | automatic: pyupgrade --py36-plusAnthony Sottile2021-03-3019-88/+121
| |
* | introduce pyupgrade, run it in python2-compatible modeAnthony Sottile2021-03-295-6/+9
| |
* | remove flake8 setuptools commandAnthony Sottile2021-03-291-115/+0
| |
* | remove unused noqa commentsAnthony Sottile2021-03-291-1/+1
| |
* | remove vcs integrationAnthony Sottile2021-03-298-526/+2
|/
* Release 3.9.03.9.0Anthony Sottile2021-03-141-1/+1
|
* upgrade pycodestyle to 2.7.0Anthony Sottile2021-03-141-0/+2
|
* Add indent-size optionvalentin2021-03-143-0/+12
|
* ensure crlf line endings of stdin are handled properlyAnthony Sottile2021-01-071-1/+2
|
* Merge branch 'no_show_source' into 'master'Anthony Sottile2020-10-021-0/+7
|\ | | | | | | | | 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-191-0/+7
| |
* | Release 3.8.43.8.4Anthony Sottile2020-10-021-1/+1
| |
* | fix a few small spelling issuesAnthony Sottile2020-09-207-7/+7
| | | | | | | | found via `pre-commit try-repo https://github.com/codespell-project/codespell --all-files`
* | fix skipping of physical checks when file does not end in newlineAnthony Sottile2020-09-121-4/+13
| |
* | Support linting when missing sem_open syscallNekokatt2020-08-271-11/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | upgrade black and run via pre-commitAnthony Sottile2020-08-272-3/+7
|/
* Release 3.8.33.8.3Anthony Sottile2020-06-081-1/+1
|
* Help clarify the option behaviourmsmetko2020-06-071-1/+1
|