summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | 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
| * Tiny typo fixAnthony Sottile2019-01-291-1/+1
|/
* Add release notes for 2.5.02.5.0Ian Stapleton Cordasco2019-01-292-2/+18
| | | | Bump version to 2.5.0 for release
* Merge pull request #831 from asottile/noqa_W605Ian Stapleton Cordasco2019-01-272-1/+8
|\ | | | | Allow W605 to be silenced by noqa
| * Allow W605 to be silenced by noqaAnthony Sottile2019-01-262-1/+8
|/
* Merge pull request #705 from jdufresne/over-indentedIan Stapleton Cordasco2019-01-259-30/+40
|\ | | | | Add check for over-indented blocks
| * Add check for over-indented blocksJon Dufresne2019-01-249-30/+40
| | | | | | | | | | | | | | | | | | In a project with all lines indented 4 spaces, I noticed pycodestyle was not catching code that was accidentally indented two levels (8 spaces). The over indentation was unintended and can be caught during static analysis. Fixes #430
* | Merge pull request #829 from jdufresne/xenialIan Stapleton Cordasco2019-01-251-3/+4
|\ \ | |/ |/| Use 'dist: xenial' in Travis to simplify configuration
| * Use 'dist: xenial' in Travis to simplify configurationJon Dufresne2019-01-241-3/+4
|/ | | | | | | | Allows using Python version 3.7 without sudo declarations. Travis officially added support for Xenial on 2018-11-08. https://blog.travis-ci.com/2018-11-08-xenial-release
* Merge pull request #823 from anntzer/allow-no-blanks-around-one-linersIan Stapleton Cordasco2019-01-233-0/+39
|\ | | | | Allow omitting blank lines around one-liner definitions.
| * Allow omitting blank lines around one-liner definitions.Antony Lee2019-01-053-0/+39
| |
* | Merge pull request #819 from wwwjfy/issue-811Ian Stapleton Cordasco2019-01-232-0/+17
|\ \ | | | | | | fix #811, corner cases for async/await check
| * | fix #811, corner cases for async/await checkTony Wang2018-11-242-0/+17
| |/
* | Merge pull request #798 from jdufresne/rstIan Stapleton Cordasco2019-01-171-3/+3
|\ \ | | | | | | Correct ReStructuredText inline literal syntax in CONTRIBUTING.rst
| * | Correct ReStructuredText inline literal syntax in CONTRIBUTING.rstJon Dufresne2019-01-161-3/+3
|/ /
* | Add whitespace around -> annotating operator (#809)Tomer Keren2018-12-073-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Test for whitespace around -> operator Tests will pass after fixing issue #803 * Require whitespace around -> operator Closes: #803 * Move tests to correct cases * Whitelist python3 only tests * Fix whitespace test errors Huge thanks to @asottile! * Address code review Pushing this directly to run full testsuite on travis * :bug:Change error code to space around bitwise operator E227 * Check for -> annotation only in py3.5+ * Skip tests meant for higher versions of python * Move type annotation tests to python3.5 testsuite Type annotations were first introduced in PEP 484,https://www.python.org/dev/peps/pep-0484/ implemented in python3.5 * Shorten line skipping tests by version * Replace test skipping logic As requested in code review * Run formatting to avoid long lines
* | Merge pull request #820 from wwwjfy/w606-tweakIan Stapleton Cordasco2018-11-282-1/+5
|\ \ | |/ |/| refs W606, only NAME can follow await
| * add test for demonstrationTony Wang2018-11-251-0/+4
| |
| * refs W606, only NAME can follow awaitTony Wang2018-11-241-1/+1
|/ | | | await NUMBER or await STRING is not valid syntax
* Merge pull request #801 from mwhudson/tokenizer-compatIan Stapleton Cordasco2018-11-221-2/+2
|\ | | | | Keep compability with stdlib tokenize.py changes