ci: add pre-commit and tests workflows
This commit is contained in:
parent
ee43046e59
commit
bdb5c984fa
13 changed files with 339 additions and 297 deletions
|
|
@ -5,15 +5,15 @@ authors = [
|
|||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"typer>=0.12",
|
||||
"rich>=13.3.3",
|
||||
"rich>=13.3",
|
||||
"pydantic>=2.7",
|
||||
"pyyaml>=6.0",
|
||||
"pyrage>=1.1",
|
||||
"pendulum>=3.0",
|
||||
"httpx>=0.27",
|
||||
"platformdirs>=4.2",
|
||||
"pydantic-settings>=2.0",
|
||||
"hishel>=0.0.26",
|
||||
"hishel>=0.0",
|
||||
"whenever>=0.6.6",
|
||||
]
|
||||
name = "halig"
|
||||
dynamic = ["version"]
|
||||
|
|
@ -90,7 +90,7 @@ reportMissingTypeStubs = false
|
|||
reportAttributeAccessIssue = false
|
||||
|
||||
[tool.ruff.lint]
|
||||
extend-select = ["W", "C90", "I", "N", "UP", "S", "BLE", "B", "A", "COM", "C4", "DTZ", "T10", "EM", "ISC", "T20", "PT", "RSE", "RET", "SIM", "PTH", "ERA", "PGH", "PL", "TRY", "RUF"]
|
||||
extend-select = ["W", "C90", "I", "N", "UP", "S", "BLE", "B", "A", "COM", "C4", "DTZ", "T10", "EM", "ISC", "T20", "PT", "RSE", "RET", "SIM", "PTH", "ERA", "PGH", "PL", "TRY", "RUF", "FURB", "PERF"]
|
||||
extend-ignore = ["S101", "ISC002", "COM812", "ISC001"]
|
||||
|
||||
[tool.mypy]
|
||||
|
|
@ -107,3 +107,10 @@ module = [
|
|||
"httpx_cache"
|
||||
]
|
||||
ignore_missing_imports = true
|
||||
|
||||
[tool.coverage.run]
|
||||
omit = [
|
||||
"halig/__version__.py",
|
||||
"halig/literals.py",
|
||||
"halig/main.py"
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue