[project] name = "masto-rss" version = "0.1.0" description = "A Mastodon RSS bot" dependencies = [ "feedparser>=6.0.10", "Mastodon.py>=1.8.0", "python-dateutil>=2.8.2", "requests>=2.31.0", # Added during uv migration, preserving logic from requirements.txt ] requires-python = ">=3.10" [tool.uv] dev-dependencies = [ "pytest>=9.0.2", "pytest-cov>=6.0.0", "pytest-mock>=3.14.0", "ruff>=0.1.6", "mypy>=1.19.0", "coverage>=7.6.12", ] [tool.ruff] # Exclude a variety of commonly ignored directories. exclude = [ ".bzr", ".direnv", ".eggs", ".git", ".git-rewrite", ".hg", ".mypy_cache", ".nox", ".pants.d", ".pytype", ".ruff_cache", ".svn", ".tox", ".venv", "__pypackages__", "_build", "buck-out", "build", "dist", "node_modules", "venv", ] line-length = 127 # Assume Python 3.10 target-version = "py310" [tool.ruff.lint] # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default. # Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or # McCabe complexity (`C901`) by default. select = ["E", "F", "W", "C90"] ignore = [] # Allow fix for all enabled rules (when `--fix`) is provided. fixable = ["ALL"] unfixable = [] # Allow unused variables when underscore-prefixed. dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" [tool.ruff.lint.mccabe] # Unlike Flake8, default to a complexity level of 10. max-complexity = 10