1
0
Fork 0

Adding upstream version 1.31.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-04-29 04:23:47 +02:00
parent f38abee4bc
commit 9aaa9c7fe0
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
27 changed files with 387 additions and 394 deletions

View file

@ -3,7 +3,7 @@ name = "mycli"
dynamic = ["version"]
description = "CLI for MySQL Database. With auto-completion and syntax highlighting."
readme = "README.md"
requires-python = ">=3.7"
requires-python = ">=3.9"
license = { text = "BSD" }
authors = [{ name = "Mycli Core Team", email = "mycli-dev@googlegroups.com" }]
urls = { homepage = "http://mycli.net" }
@ -14,7 +14,7 @@ dependencies = [
"Pygments>=1.6",
"prompt_toolkit>=3.0.6,<4.0.0",
"PyMySQL >= 0.9.2",
"sqlparse>=0.3.0,<0.5.0",
"sqlparse>=0.3.0,<0.6.0",
"sqlglot>=5.1.3",
"configobj >= 5.0.5",
"cli_helpers[styles] >= 2.2.1",
@ -56,4 +56,41 @@ mycli = ["myclirc", "AUTHORS", "SPONSORS"]
include = ["mycli*"]
[tool.ruff]
target-version = 'py39'
line-length = 140
[tool.ruff.lint]
select = [
'A',
'I',
'E',
'W',
'F',
'C4',
'PIE',
'TID',
]
ignore = [
'E401', # Multiple imports on one line
'E402', # Module level import not at top of file
'PIE808', # range() starting with 0
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
'E111', # indentation-with-invalid-multiple
'E114', # indentation-with-invalid-multiple-comment
'E117', # over-indented
'W191', # tab-indentation
]
[tool.ruff.lint.isort]
force-sort-within-sections = true
known-first-party = [
'mycli',
]
[tool.ruff.format]
preview = true
quote-style = 'preserve'
exclude = [
'build',
'mycli_dev',
]