Skip to content

Commit 3efaaef

Browse files
author
Bastien Gautier
committed
Rename project
1 parent ea67614 commit 3efaaef

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

my_project/main.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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

0 commit comments

Comments
 (0)