Commit Graph

8 Commits

Author SHA1 Message Date
Marc Mueller
ca3bc53fd8
Extended consider-using-tuple check to cover 'in' comparisons (#4768) 2021-07-29 16:38:22 +02:00
Daniël van Noord
a8b7dd7bff
Add unspecified-encoding checker #3826 (#4753)
* Add unspecified-encoding checker #3826
This adds an unspecified-encoding checker that adds a warning
whenever open() is called without an explicit encoding argument.
This closes #3826

* Update tests to conform to unspecified-encoding
With addition of the unspecified-encoding checker calls of open()
need an encoding argument.
Where necessary this argument has been added, or the message has been
disabled.
This also includes small linting changes to a small number
of tests. Their test-data has been updated to reflect new line numbers.

* Update scripts to conform to unspecified-encoding
With addition of the unspecified-encoding checker calls of open()
need an encoding argument.
Where necessary this argument has been added.

* Update pylint to conform to unspecified-encoding
With addition of the unspecified-encoding checker calls of open()
need an encoding argument.
Where necessary this argument has been added.

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-28 20:18:44 +02:00
Marc Mueller
21290866a2
Fix copyright links (#4647)
* Fix link in license header
* Update link to astroid bump_changelog
2021-07-01 12:47:58 +02:00
Pierre Sassoulas
58a4af34b5 Upgrade the release script using what was done in astroid 2021-06-29 21:13:47 +02:00
Pierre Sassoulas
54a31ee30b Add tbump script for bumbing version 2021-06-17 13:24:47 +02:00
Marc Mueller
6e9c6384be Improve fix-documentation pre-commit hook 2021-03-09 22:22:39 +01:00
Pierre Sassoulas
c85d202a23 Remove all fmt off from the codebase 2021-03-06 13:22:08 +01:00
Marc Mueller
90c915c3f8 Add custom fix-documentation pre-commit-hook 2021-03-06 09:08:33 +01:00