-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Steps to reproduce
- Create Python module containing
import inspect
- run
pylint
on this file
Current behavior
************* Module test
test.py:1:0: C0111: Missing module docstring (missing-docstring)
test.py:1:0: E0001: Cannot import 'inspect' due to syntax error 'invalid syntax (<unknown>, line 1328)' (syntax-error)
test.py:1:0: W0611: Unused import inspect (unused-import)
-----------------------------------------------------------------------
Your code has been rated at -60.00/10 (previous run: -50.00/10, -10.00)
Expected behavior
No syntax error on importing inspect
> python.exe -V
Python 3.8.0b1
> python.exe -c 'import inspect'
> [no error]
pylint --version output
pylint 2.3.1
astroid 2.2.5
Python 3.8.0b1 (tags/v3.8.0b1:3b5deb0116, Jun 4 2019, 19:52:55) [MSC v.1916 64 bit (AMD64)]
jacebrowning
Metadata
Metadata
Assignees
Labels
No labels