[build-system] requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.2"] build-backend = "setuptools.build_meta" [project] name = "dr.botzo" description = "A modularized IRC bot with a Django backend." readme = "README.md" license = {text = "GPL-3.0"} authors = [ {name = "Brian S. Stephan", email = "bss@incorporeal.org"}, ] requires-python = ">=3.10,<3.12" dependencies = ["Django<5.1", "django-bootstrap3", "django-extensions", "djangorestframework", "irc<20.5.0", "numexpr", "parsedatetime", "ply", "python-dateutil", "python-mpd2", "pytz", "requests", "zalgo-text"] dynamic = ["version"] classifiers = [ "Framework :: Django", "Programming Language :: Python :: 3", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Topic :: Communications :: Chat :: Internet Relay Chat", ] [project.urls] "Homepage" = "https://git.incorporeal.org/bss/dr.botzo" "Changelog" = "https://git.incorporeal.org/bss/dr.botzo/releases" "Bug Tracker" = "https://git.incorporeal.org/bss/dr.botzo/issues" [project.optional-dependencies] dev = ["bandit", "dlint", "flake8", "flake8-blind-except", "flake8-builtins", "flake8-docstrings", "flake8-executable", "flake8-fixme", "flake8-isort", "flake8-logging-format", "flake8-mutable", "flake8-pyproject", "pip-tools", "pytest", "pytest-cov", "pytest-django", "reuse", "safety", "tox"] [tool.flake8] enable-extensions = "G,M" exclude = [".tox/", "dr_botzo/_version.py", "**/migrations/"] extend-ignore = "T101" max-complexity = 10 max-line-length = 120 [tool.isort] line_length = 120 # TODO: mypy [tool.mypy] ignore_missing_imports = true [tool.pytest.ini_options] python_files = ["*_tests.py", "tests.py", "test_*.py"] DJANGO_SETTINGS_MODULE = "dr_botzo.settings" django_find_project = false # I think this can go away if I switch to a src/ based repo [tool.setuptools] packages = [ "acro", "countdown", "dice", "dispatch", "dr_botzo", "facts", "history", "ircbot", "karma", "markov", "mpdbot", "pi", "races", "seen", "static", "storycraft", "text_manip", "transform", "weather", ] [tool.setuptools_scm] write_to = "dr_botzo/_version.py"