[tool.poetry] name = "star-rail-relic-trimmer" version = "0.1.0" description = "" authors = ["Daniel Tomlinson "] readme = "README.md" packages = [{ include = "star_rail_relic_trimmer", from = "src" }] [tool.poetry.dependencies] python = "^3.11" pydantic = "^2.6.2" pyyaml = "^6.0.1" rich = "^13.7.0" [tool.ruff] line-length = 120 indent-width = 4 # include = ["pyproject.toml", "src/**/*.py", "scripts/**/*.py"] # extend-include = ["*.ipynb"] [tool.ruff.lint] # select = ["ASYNC", "B", "D", "E", "F", "I", "N", "PLR", "W"] select = ["ALL"] ignore = [ "D100", # undocumented-public-module "D101", # undocumented-public-class "D102", # undocumented-public-method "D103", # undocumented-public-function "D105", # undocumented-magic-method "E501", # line-too-long "ERA001", # commented-out-code "T201", # print "ANN001", # missing-type-function-argument "ANN101", # missing-type-self "ANN201", # missing-return-type-undocumented-public-function ] fixable = ["ALL"] dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" # include = ["pyproject.toml", "src/**/*.py", "scripts/**/*.py"] # extend-include = ["*.ipynb"] [tool.ruff.lint.pydocstyle] convention = "google" [tool.ruff.lint.per-file-ignores] "__init__.py" = [ # "F401", # unused-import # "F403", # undefined-local-with-import-star ] # "**/{tests,docs,tools}/*" = ["E402"] [tool.ruff.format] quote-style = "double" indent-style = "space" skip-magic-trailing-comma = false line-ending = "auto" docstring-code-format = true [tool.ruff.lint.isort] known-first-party = ["star_rail_relic_trimmer"] [tool.isort] line_length = 120 multi_line_output = 3 force_single_line = false balanced_wrapping = true default_section = "THIRDPARTY" known_first_party = ["star_rail_relic_trimmer"] include_trailing_comma = true [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"