File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
robotcode/language_server/robotframework/diagnostics Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -263,12 +263,14 @@ select = [
263
263
# "B",
264
264
# "A"
265
265
# "COM"
266
- # "C4", TODO enable this
266
+ # "C4", # TODO enable this
267
267
" DTZ" ,
268
268
" T10" ,
269
269
# "EM",
270
270
" ISC" ,
271
271
" G" ,
272
+ # "INP",
273
+ " PIE"
272
274
]
273
275
274
276
@@ -277,8 +279,6 @@ select = [
277
279
278
280
279
281
[tool .mypy ]
280
- # MyPy config
281
- # File reference here - http://mypy.readthedocs.io/en/latest/config_file.html#config-file
282
282
python_version = 3.8
283
283
284
284
strict = true
Original file line number Diff line number Diff line change @@ -529,13 +529,13 @@ def __str__(self) -> str:
529
529
530
530
@dataclass
531
531
class ResourceEntry (LibraryEntry ):
532
- imports : List [Import ] = field (default_factory = lambda : [] )
533
- variables : List [VariableDefinition ] = field (default_factory = lambda : [] )
532
+ imports : List [Import ] = field (default_factory = list )
533
+ variables : List [VariableDefinition ] = field (default_factory = list )
534
534
535
535
536
536
@dataclass
537
537
class VariablesEntry (LibraryEntry ):
538
- variables : List [ImportedVariableDefinition ] = field (default_factory = lambda : [] )
538
+ variables : List [ImportedVariableDefinition ] = field (default_factory = list )
539
539
540
540
541
541
class DocumentType (enum .Enum ):
You can’t perform that action at this time.
0 commit comments