[tool.poetry] name = "infra" version = "2.0.0" description = "Infrastructure for Python Discord" authors = ["Python Discord "] license = "MIT" readme = "README.md" [tool.poetry.dependencies] python = "3.11.*" pre-commit = "3.6.0" ruff = "0.1.11" taskipy = "1.12.2" [tool.poetry.group.ansible.dependencies] ansible = "9.1.0" ansible-lint = { extras = ["yamllint"], version = "6.17.2", markers = "platform_system != 'Windows'" } dnspython = "2.4.2" [tool.taskipy.tasks] lint = "pre-commit run --all-files" precommit = "pre-commit install" [tool.ruff] target-version = "py311" extend-exclude = [".cache"] select = ["ALL"] ignore = [ "ANN002", "ANN003", "ANN101", "ANN102", "ANN204", "ANN206", "ANN401", "B904", "C401", "C408", "CPY001", "D100", "D104", "D105", "D107", "D203", "D212", "D214", "D215", "D301", "D400", "D401", "D402", "D404", "D405", "D406", "D407", "D408", "D409", "D410", "D411", "D412", "D413", "D414", "D416", "D417", "E731", "RET504", "RUF005", "RUF012", "RUF015", "S311", "SIM102", "SIM108", ] line-length = 120 unsafe-fixes = true preview = true [tool.ruff.isort] order-by-type = false case-sensitive = true combine-as-imports = true [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"