Commit Graph

13 Commits

Author SHA1 Message Date
Pierre Sassoulas
dbb12524d7
[pre-commit] Upgrade to black 23.1a1 with 2023's formatting (#7965) 2022-12-27 00:04:56 +01:00
Daniël van Noord
6b25ff0ad3 Subclass `BaseRawFileChecker and BaseTokenChecker` 2022-04-19 23:06:09 +02:00
Daniël van Noord
595ec422d6
Update `pydocstringformatter` to 0.4.0 (#5787) 2022-02-10 19:30:15 +01:00
Pierre Sassoulas
7d25842515
Add typing and uniformize the checker registering in Pylinter (#5558)
Remove verbose docstring in code, keep them in example and doc

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-12-27 21:30:34 +01:00
Daniël van Noord
e726eb40ea Type `process_module` and update argument names 2021-09-13 13:32:34 +02: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
sdet_liang
601b10abfa Fix err "global name 'module' is not defined" (#1146)
Fix following error when using this plugin
```
with module.stream() as stream:
NameError: global name 'module' is not defined
```
2016-10-25 05:15:13 -05:00
Claudiu Popa
56dd0f3b9b Update the examples to the new message format. 2015-01-03 10:04:58 +02:00
Claudiu Popa
f47058b355 Use the new Module.stream, since Module.file_stream is deprecated. 2015-01-03 10:00:00 +02:00
Sylvain Thénault
d3f545682f add note about soon useless stream.seek() 2011-10-26 09:35:41 +02:00
Emile Anclin
4192e79a83 py3k: need to handle guess_encoding in astng
Astng will try to find the right encoding and provide the right "stream"
interface for the Pylint checkers.
Reading a stream with the wrong encoding in py3k will generate a UnicodeError.

The introduced a 'F0010' failure should maybe be replaced by E0501, E0502 and
F0002? However, can we call 'unexpected errors' the ASTNGBuildingExceptions
that we raise in logilab.astng.builder?
2010-11-22 15:36:44 +01:00
root
4becf6f9e5 forget the past.
forget the past.
2006-04-26 10:48:09 +00:00