mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
lint
This commit is contained in:
@@ -3,7 +3,6 @@ line-length = 100
|
|||||||
extend-exclude = ["temp"]
|
extend-exclude = ["temp"]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
lint.select = [
|
lint.select = [
|
||||||
"E", # pycodestyle errors
|
"E", # pycodestyle errors
|
||||||
"W", # pycodestyle warnings
|
"W", # pycodestyle warnings
|
||||||
@@ -30,10 +29,11 @@ lint.ignore = [
|
|||||||
'F401', # unused imports
|
'F401', # unused imports
|
||||||
'F841',
|
'F841',
|
||||||
'SIM102',
|
'SIM102',
|
||||||
|
#'SIM103', # needless-bool, return the condition {condition} directly
|
||||||
'SIM105',
|
'SIM105',
|
||||||
'SIM108',
|
'SIM108',
|
||||||
'SIM115',
|
'SIM115',
|
||||||
'DTZ007', # Naive datetime constructed using `datetime.datetime.strptime()` without %z
|
# 'DTZ007', # Naive datetime constructed using `datetime.datetime.strptime()` without %z
|
||||||
]
|
]
|
||||||
|
|
||||||
[format]
|
[format]
|
||||||
|
|||||||
Reference in New Issue
Block a user