summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* E306: fix detection inside `async def`E306_async_defAnthony Sottile2020-04-282-1/+6
|
* Merge pull request #922 from asottile/2_6_0_a12.6.0a1Ian Lee2020-04-232-1/+26
|\ | | | | 2.6.0a1
| * 2.6.0a1Anthony Sottile2020-04-022-1/+26
| |
* | Merge pull request #923 from jnozsc/py38Anthony Sottile2020-04-061-0/+1
|\ \ | |/ |/| setup.py: add py38 to document
| * setup.py: add py38 to documentjnozsc2020-04-061-0/+1
|/
* Merge pull request #920 from asottile/coverageAnthony Sottile2020-03-245-76/+82
|\ | | | | Instrument code coverage
| * Instrument code coverageAnthony Sottile2020-03-245-76/+82
|/
* Merge pull request #918 from asottile/only_positionalAnthony Sottile2020-03-242-2/+23
|\ | | | | Fix E225 for PEP 570 all positional-only arguments
| * Fix E225 for PEP 570 all positional-only argumentsAnthony Sottile2020-03-232-2/+23
| |
* | Merge pull request #919 from asottile/first_line_E302Anthony Sottile2020-03-244-9/+12
|\ \ | |/ |/| Allow N-and-fewer blank lines before the first top level thing
| * Allow N-and-fewer blank lines before the first top level thingAnthony Sottile2020-03-234-9/+12
|/
* Merge pull request #913 from anntzer/afteronelinerblockAnthony Sottile2020-03-232-0/+5
|\ | | | | Correctly allow *two* blank lines after a block of one-liners.
| * Correctly allow *two* blank lines after a block of one-liners.Antony Lee2020-02-262-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously ``` def oneliner(): pass def otheroneliner(): pass def really_long_func(): with_some_contents ``` would raise an "E302: expected 2 blank lines, found zero" at the last line of the one liner. Ultimately, this is due to `expand_indent` being passed a line whose contents are just a newline and nothing else, and `expand_indent` thinking that the line is indented by 1 character (the newline), which is wrong. Fix that by just stripping the newline, and modify a test to cover this case.
* | Merge pull request #912 from anntzer/vindentwithAnthony Sottile2020-03-233-1/+46
|\ \ | |/ |/| Support visual indent of continuation lines after with/assert/raise.
| * Support visual indent of continuation lines after with/assert/raise.Antony Lee2020-02-263-1/+46
|/ | | | | "with" is likely the most common case, and this indentation is explicitly given as example by PEP8 (under "maximum line length").
* Merge pull request #835 from EricCousineau-TRI/feature/venv_doc_consistencyAnthony Sottile2020-02-192-3/+5
|\ | | | | CONTRIBUTING: Make virtualenv dir name consistent with gitignore
| * CONTRIBUTING: Make virtualenv dir name consistent with gitignoreEric Cousineau2019-01-302-3/+5
| | | | | | | | Update gitignore to be more flexible
* | Merge pull request #897 from sobolevn/issue-768Anthony Sottile2020-02-192-1/+6
|\ \ | | | | | | Adds matmul operator support, fixes #768
| * | Adds matmul operator support, fixes #768sobolevn2019-12-052-1/+6
| | |
* | | Merge pull request #872 from Nekit10/masterIan Stapleton Cordasco2020-01-302-0/+7
|\ \ \ | |/ / |/| | Added support for PEP 570 (#867)
| * | Merge branch 'master' into masterNikita Serba2020-01-226-11/+58
| |\ \ | |/ / |/| |
* | | Merge pull request #879 from FichteForks/pr/pep-572Ian Stapleton Cordasco2019-10-214-6/+27
|\ \ \ | | | | | | | | Add support for assignment expressions
| * | | Run CI tests on Python 3.8FichteFoll2019-10-211-0/+2
| | | |
| * | | Add support for assignment expressionsFichteFoll2019-07-313-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | Introduced in Python 3.8 with PEP-572. Refer to https://www.python.org/dev/peps/pep-0572.
* | | | Merge pull request #834 from EricCousineau-TRI/issue/833Ian Stapleton Cordasco2019-09-252-4/+20
|\ \ \ \ | |/ / / |/| | | E402: Add "with" statement to allowed keywords
| * | | E402: Add "elif" statement to allowed keywordsEric Cousineau2019-09-252-1/+5
| | | |
| * | | E402: Add "if" statement to allowed keywordsEric Cousineau2019-01-302-1/+7
| | | |
| * | | E402: Add "with" statement to allowed keywordsEric Cousineau2019-01-302-4/+10
| | |/ | |/|
* | | Merge pull request #875 from asottile/ellipsis_not_binary_operatorIan Stapleton Cordasco2019-07-112-1/+11
|\ \ \ | | | | | | | | Ellipsis is not a binary operator
| * | | Ellipsis is not a binary operatorAnthony Sottile2019-07-112-1/+11
|/ / /
| | * Update pycodestyle.pyNikita Serba2020-01-221-1/+1
| | | | | | | | | Co-Authored-By: Anthony Sottile <asottile@umich.edu>
| | * Typo fix (rename python38 to python38.py)Nikita Serba2020-01-221-0/+0
| | |
| | * Create python38Nikita Serba2020-01-221-0/+3
| | |
| | * Added support for PEP 570 (#867)Nikita S2019-07-021-0/+4
| |/ |/|
* | Merge pull request #859 from anntzer/e302decoratorIan Stapleton Cordasco2019-03-262-6/+15
|\ \ | | | | | | Fix E302 false negative in presence of decorators.
| * | Fix E302 false negative in presence of decorators.Antony Lee2019-03-262-6/+15
|/ /
* | Merge pull request #853 from rettenbs/masterIan Stapleton Cordasco2019-03-101-4/+35
|\ \ | | | | | | Fixes some issues with E741 detection
| * | Add line breaks in commentSebastian Rettenberger2019-03-081-1/+2
| | |
| * | Add lines breaksSebastian Rettenberger2019-03-081-2/+4
| | |
| * | Fixes some issues with E741 detectionSebastian Rettenberger2019-03-081-4/+32
|/ /
* | Merge pull request #850 from asottile/E721_false_positiveIan Stapleton Cordasco2019-03-012-1/+4
|\ \ | | | | | | Fix E721 false positive
| * | Fix E721 false positiveAnthony Sottile2019-03-012-1/+4
|/ /
* | Merge pull request #847 from adamchainz/E225_boolean_operatorsIan Stapleton Cordasco2019-03-012-2/+13
|\ \ | | | | | | E225 Check for space around boolean operators
| * | Check for 'is' and 'in' as wellAdam Johnson2019-02-282-1/+5
| | |
| * | E225 Check for space around boolean operatorsAdam Johnson2019-02-272-2/+9
| | | | | | | | | | | | This was documented in the docstring for `missing_whitespace_around_operator` but not implemented, allowing e.g. `1and 0` to pass. Fixed by adding test case then modifying the check to search for the 'and' and 'or' operators as well.
* | | Merge pull request #848 from adamchainz/tox_urlIan Stapleton Cordasco2019-03-011-1/+1
|\ \ \ | |/ / |/| | Update tox url in tox.ini
| * | Update tox url in tox.iniAdam Johnson2019-02-281-1/+1
|/ / | | | | | | The previous one lead to a dead-end 404.
* | Merge pull request #837 from jdufresne/over-indent-tabsIan Stapleton Cordasco2019-02-017-28/+33
|\ \ | |/ |/| Expect lines to be indented 8 places when tabs are used
| * Expect lines to be indented 8 places when tabs are usedJon Dufresne2019-01-317-28/+33
|/ | | | Fixes #836
* Merge pull request #832 from asottile/patch-1Ian Stapleton Cordasco2019-01-301-1/+1
|\ | | | | Tiny typo fix