Commit Graph

19 Commits

Author SHA1 Message Date
Pierre Sassoulas
ac85223e5b Apply copyrite --contribution-threshold 2021-02-21 16:56:19 +01:00
Pierre Sassoulas
5bed07eba9 Move from % string formatting syntax to f-string or .format() 2021-02-21 15:36:16 +01:00
hippo91
1f7c29c0b6 Sets up copyright 2020-08-20 18:40:19 +02:00
Claudiu Popa
369d952c7e Add missing copyright annotations for the past releases 2020-04-27 11:04:14 +02:00
Anthony Sottile
a45505143f pyupgrade: automated removal of python2 constructs
using configuration:

```yaml
-   repo: https://github.com/asottile/pyupgrade
    rev: v2.1.0
    hooks:
    -   id: pyupgrade
        args: [--py3-plus, --keep-percent-format]
        exclude: ^tests/(extensions/data/|functional/|input/|regrtest_data/)
```
2020-03-24 10:27:21 +01:00
Hugo van Kemenade
b72c0dd9a3 Remove redundant compatibility code (#3097)
We no longer support Python 2 so we can remove
the compatibility code we had in place for that version.
2019-09-12 06:10:27 -05:00
Claudiu Popa
6b0003da63 Fix a bunch of linting errors from the codebase 2019-05-22 09:26:18 +02:00
Pierre Sassoulas
bb6347e0e3 Fix - C0412: Imports from package x are not grouped 2019-03-20 09:07:35 +01:00
Pierre Sassoulas
2d525d6824 Style - Re-Apply black following the isort cleanup
Change with isort triggered change with black.
2019-03-20 09:07:35 +01:00
Pierre Sassoulas
5ab140ac3b Style - Apply isort on all apllicable files 2019-03-20 09:07:35 +01:00
Claudiu Popa
3f28424007 Reformat the code with black 2018-09-17 09:07:42 +02:00
Claudiu Popa
9ff44de0ca
Regenerate copyright notices 2017-12-15 12:24:15 +01:00
hippo91
56a6723f96 Adding a check for `inconsistent-return-statements` inside function or methods. (#1641)
Close #1267
2017-09-26 17:03:42 +02:00
Claudiu Popa
1a29e8ae2b Add *args back to mccabe's default function 2017-01-28 14:33:20 +02:00
Claudiu Popa
a392434b11 Remove the variadics from the default function 2017-01-26 10:56:04 +02:00
Claudiu Popa
336b0d09af Use attributes from modules instead of cluttering the namespace. 2016-07-27 22:42:17 +03:00
Claudiu Popa
ec09cc7578 Even more granular copyrights (thanks to copyrite) 2016-07-23 00:22:28 +03:00
Claudiu Popa
211d81f84f Keep a consistent copyright notice across the board.
This was changed automatically in #894, but apparently
we need to have the copyright notice somewhere.
2016-07-19 17:42:07 +03:00
Claudiu Popa
dc9ee9f8c9 Move check_mccabe extension to mccabe. 2016-07-07 14:54:31 +01:00