mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'issues/py37-clean' of https://github.com/pauloxnet/calibre
This commit is contained in:
commit
c08be4e428
@ -1,6 +1,6 @@
|
||||
[tool.ruff]
|
||||
line-length = 160
|
||||
target-version = 'py37'
|
||||
target-version = 'py38'
|
||||
select = ['E', 'F']
|
||||
ignore = ['E741', 'E402', 'E722', 'E401']
|
||||
builtins = ['_']
|
||||
@ -10,7 +10,7 @@ builtins = ['_']
|
||||
"src/qt/__init__.py" = ["E501"]
|
||||
|
||||
[tool.black]
|
||||
target-version = ['py37']
|
||||
target-version = ['py38']
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
|
@ -137,4 +137,4 @@ class UpgradeSourceCode(Command):
|
||||
if '/metadata/sources/' in q or '/store/stores/' in q:
|
||||
continue
|
||||
files.append(q)
|
||||
subprocess.call(['pyupgrade', '--py37-plus'] + files)
|
||||
subprocess.call(['pyupgrade', '--py38-plus'] + files)
|
||||
|
Loading…
x
Reference in New Issue
Block a user