File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ """ Program to check the linters availability and their correct configuration """
2+
3+ # Program has been written to generate six errors...
4+
5+ # Mypy: Missing type parameters for generic type "dict" [type-arg]
6+ # Pylance: Expected type arguments for generic class "dict"
7+ # > Use Dict[str, str] instead of dict to resolve the issue.
8+
9+ # Mypy: Skipping analyzing "pandas": module is installed, but ... or py.typed marker [import]
10+ # Mypy: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
11+ # > Check setup.cfg to resolve the issue.
12+
13+ # Pylint: Line too long (110/100)
14+ # Pylama: Line too long (110 > 100 characters) [pycodestyle]
15+ # Flake8: Line too long (110 > 100 characters) [pycodestyle]
16+ # > Change the configuration or the code to resolve the issue.
17+
18+ import pandas as pd
19+
20+ my_unused_variable : dict = {
21+ "foo" :
22+ "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"
23+ }
24+
25+ del my_unused_variable
26+
27+ df = pd .DataFrame ()
28+ del df
You can’t perform that action at this time.
0 commit comments