[tool.poetry] name = "bili-sync" version = "1.1.8" description = "" authors = ["amtoaer "] license = "GPL-3.0" readme = "README.md" [tool.poetry.dependencies] python = "^3.11" aerich = "0.7.2" aiofiles = "23.2.1" bilibili-api-python = {git = "https://github.com/Nemo2011/bilibili-api.git", rev = "16.2.0b2"} loguru = "0.7.2" pydantic = "2.5.3" tortoise-orm = "0.20.0" uvloop = "0.19.0" [tool.poetry.group.dev.dependencies] bump-my-version = "0.15.4" ipython = "8.17.2" ruff = "0.2.2" [tool.black] line-length = 100 [tool.ruff] line-length = 120 lint.select = [ "F", # https://beta.ruff.rs/docs/rules/#pyflakes-f "E", "W", # https://beta.ruff.rs/docs/rules/#pycodestyle-e-w "I", # https://beta.ruff.rs/docs/rules/#isort-i # "N", # https://beta.ruff.rs/docs/rules/#pep8-naming-n "UP", # https://beta.ruff.rs/docs/rules/#pyupgrade-up "S", # https://beta.ruff.rs/docs/rules/#flake8-bandit-s "B", # https://beta.ruff.rs/docs/rules/#flake8-bugbear-b "A", # https://beta.ruff.rs/docs/rules/#flake8-builtins-a "C4", # https://beta.ruff.rs/docs/rules/#flake8-comprehensions-c4 "ICN", # https://beta.ruff.rs/docs/rules/#flake8-import-conventions-icn "G", # https://beta.ruff.rs/docs/rules/#flake8-logging-format-g "PIE", # https://beta.ruff.rs/docs/rules/#flake8-pie-pie "T20", # https://beta.ruff.rs/docs/rules/#flake8-print-t20 "RET", # https://beta.ruff.rs/docs/rules/#flake8-return-ret "SIM", # https://beta.ruff.rs/docs/rules/#flake8-simplify-sim "TID", # https://beta.ruff.rs/docs/rules/#flake8-tidy-imports-tid "PTH", # https://beta.ruff.rs/docs/rules/#flake8-use-pathlib-pth "PD", # https://beta.ruff.rs/docs/rules/#pandas-vet-pd # "PL", # https://beta.ruff.rs/docs/rules/#pylint-pl "NPY", # https://beta.ruff.rs/docs/rules/#numpy-specific-rules-npy "RUF100", # https://beta.ruff.rs/docs/configuration/#automatic-noqa-management ] lint.ignore = [ "A003", # Class attribute `id` is shadowing a Python builtin ] lint.isort.split-on-trailing-comma = false format.skip-magic-trailing-comma = true exclude = ["migrations"] [tool.aerich] tortoise_orm = "constants.TORTOISE_ORM" location = "./migrations" src_folder = "./." [tool.bumpversion] commit = true message = "chore: bump version from {current_version} to {new_version}" tag = true tag_name = "{new_version}" tag_message = "" current_version = "1.1.8" parse = "(?P\\d+)\\.(?P\\d+)\\.(?P\\d+)" [[tool.bumpversion.files]] filename = "version.py" [[tool.bumpversion.files]] filename = "pyproject.toml" [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"