Pierre Sassoulas
aa688de05e
Bump pylint to 2.9.3, update changelog
2021-07-01 14:54:36 +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
af52033971
Rename copying to license and upgrade the setup.cfg ( #4338 )
2021-04-11 15:29:34 +02:00
Pierre Sassoulas
14f20e2d50
Import astroid with import x or from x import y but not both
...
Remove unused imports for astroid
2021-03-28 16:30:10 +02:00
Pierre Sassoulas
391c8aa96c
Update copyright notice with copyrite
2021-02-28 22:33:34 +01:00
Pierre Sassoulas
ac85223e5b
Apply copyrite --contribution-threshold
2021-02-21 16:56:19 +01:00
Claudiu Popa
f24d765d9f
Fix false positive for not-async-context-manager
when contextlib.asynccontextmanager
is used
...
Close #3862
2020-12-28 10:49:27 +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
Pierre Sassoulas
5ab140ac3b
Style - Apply isort on all apllicable files
2019-03-20 09:07:35 +01:00
Claudiu Popa
c320b0e0d7
Fix false positive with not-async-context-manager
caused by not understanding contextlib.asynccontextmanager
...
Close #2440
2018-12-06 08:58:46 +01:00
Claudiu Popa
3f28424007
Reformat the code with black
2018-09-17 09:07:42 +02:00
Claudiu Popa
3a8635a9ef
Update copyright notices
2018-07-15 11:36:36 +02:00
Claudiu Popa
640ba64f5c
Kill YES in favour of Uninferable
2018-05-24 10:09:36 +02:00
Claudiu Popa
9ff44de0ca
Regenerate copyright notices
2017-12-15 12:24:15 +01:00
Derek Gustafson
da2e9724a1
Allow yield in async function for python3.6. Closes #1372 . ( #1380 )
2017-03-23 21:26:16 +02: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
8322781baa
Add the new shorter license header, including to missing files. Close #894 .
2016-06-01 16:25:07 +01:00
Claudiu Popa
57125f5490
Use the correct module.
2015-11-20 13:17:32 +02:00
Claudiu Popa
538c30ef91
Import has_known_bases and safe_infer back into pylint from astroid, until the latter stabilizes its API.
...
Currently astroid goes into a total revamp, having a couple of development branches with partially
incompatible APIs, which means that pylint can't rely on the exact location of has_known_bases
and safe_infer until astroid reaches a new major release. With this in mind, these two
functions are backported in pylint again.
2015-11-20 12:52:19 +02:00
Claudiu Popa
7fdc34f957
Remove line from the license header, which was inadvertently copied from base.py
2015-10-01 13:59:40 +03:00
Claudiu Popa
24e9d35a67
Start adding a protocol checker for the async features added in PEP 492:
...
* this patch adds the basis of a new checker, 'async', which deals
with problems that can occur when working with async features added
in Python with PEP 492.
* We're also adding a new error, 'yield-inside-async-function', emitted on
Python 3.5 and upwards when the `yield` statement is found inside
a new coroutine function (PEP 492).
* Another new error is added, 'not-async-context-manager', emitted when
an async context manager block is used with an object which doesn't
support this protocol (PEP 492).
2015-10-01 13:56:39 +03:00