initial working
This commit is contained in:
62
vm1/pyproject.toml
Normal file
62
vm1/pyproject.toml
Normal file
@@ -0,0 +1,62 @@
|
||||
[project]
|
||||
name = "ase"
|
||||
version = "0.9.0"
|
||||
description = "ASE backend"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"aiomysql>=0.2.0",
|
||||
"cryptography>=45.0.3",
|
||||
"mysql-connector-python>=9.3.0", # Needed for synchronous DB connections (ftp_csv_receiver.py, load_ftp_users.py)
|
||||
"pyftpdlib>=2.0.1",
|
||||
"pyproj>=3.7.1",
|
||||
"utm>=0.8.1",
|
||||
"aiofiles>=24.1.0",
|
||||
"aiosmtplib>=3.0.2",
|
||||
"aioftp>=0.22.3",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"mkdocs>=1.6.1",
|
||||
"mkdocs-gen-files>=0.5.0",
|
||||
"mkdocs-literate-nav>=0.6.2",
|
||||
"mkdocs-material>=9.6.15",
|
||||
"mkdocstrings[python]>=0.29.1",
|
||||
"ruff>=0.12.11",
|
||||
]
|
||||
|
||||
legacy = [
|
||||
"mysql-connector-python>=9.3.0", # Only for old_scripts and load_ftp_users.py
|
||||
]
|
||||
|
||||
[tool.setuptools]
|
||||
package-dir = {"" = "src"}
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
exclude = ["test","build"]
|
||||
where = ["src"]
|
||||
|
||||
[tool.ruff]
|
||||
# Lunghezza massima della riga
|
||||
line-length = 160
|
||||
|
||||
[tool.ruff.lint]
|
||||
# Regole di linting da abilitare
|
||||
select = [
|
||||
"E", # pycodestyle errors
|
||||
"W", # pycodestyle warnings
|
||||
"F", # pyflakes
|
||||
"I", # isort
|
||||
"B", # flake8-bugbear
|
||||
"C4", # flake8-comprehensions
|
||||
"UP", # pyupgrade
|
||||
]
|
||||
|
||||
# Regole da ignorare
|
||||
ignore = []
|
||||
|
||||
[tool.ruff.format]
|
||||
# Usa virgole finali
|
||||
quote-style = "double"
|
||||
indent-style = "space"
|
||||
Reference in New Issue
Block a user