[build-system] requires = ["hatchling", "hatch-vcs"] build-backend = "hatchling.build" [project] name = "CodeSmidgen" dynamic = ["version"] description = "A simple pastebin" license = "GPL-3.0-or-later" requires-python = ">=3.11" authors = [ { name = "Raoul Snyman", email = "raoul@snyman.info" }, ] classifiers = [ "Development Status :: 4 - Beta", "Environment :: Web Environment", # "Framework :: Quart", "Intended Audience :: Other Audience", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Content Management System", "Topic :: Internet :: WWW/HTTP :: WSGI", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", ] dependencies = [ "Quart", "Quart-Flask-Patch", "Flask-SQLAlchemy", "nord-pygments", "psycopg2_binary", "Pygments", ] [project.optional-dependencies] dev = [ "pytest-cov", "pytest", ] [project.urls] Homepage = "https://bin.snyman.info" [tool.hatch.version] source = "vcs" [tool.hatch.build.targets.sdist] include = [ "/codesmidgen", ] [tool.hatch.envs.default.scripts] serve = "quart -A codesmidgen.app run" [tool.hatch.envs.lint] skip-install = true dependencies = [ "flake8" ] [tool.hatch.envs.lint.scripts] run = "flake8" [tool.hatch.envs.tests] dependencies = [ "pytest-asyncio", "pytest-cov", "pytest", ] [tool.hatch.envs.tests.scripts] run = "pytest --cov=codesmidgen --cov-report=html"