[[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] falcon = "*" gunicorn = "*" jsonschema = "*" [dev-packages] coverage = "*" pre-commit = "*" pydocstyle = "<4.0" flake8 = "*" flake8-docstrings = "*" flake8-bugbear = "*" flake8-import-order = "*" flake8-tidy-imports = "*" flake8-todo = "*" flake8-string-format = "*" flake8-formatter-junit-xml = "*" flake8-quotes = "*" unittest-xml-reporting = "*" [requires] python_version = "3.7" [scripts] lint = "flake8" precommit = "pre-commit install" test = "scripts/dev.sh -c 'pipenv run coverage run -m unittest'" testb = """ scripts/dev.sh \ --build \ --clean \ -c 'pipenv run coverage run -m unittest' """ report = "coverage report" snekbox = """ gunicorn \ -w 2 \ -b 0.0.0.0:8060 \ --logger-class snekbox.GunicornLogger \ --access-logformat '%(m)s %(U)s%(q)s %(s)s %(b)s %(L)ss' \ --access-logfile - \ snekbox.api.app """ devsh = "scripts/dev.sh" build = """ docker build \ -t pythondiscord/snekbox:latest \ -f docker/Dockerfile \ . """ buildbase = """ docker build \ -t pythondiscord/snekbox-base:latest \ -f docker/base.Dockerfile \ . """ buildvenv = """ docker build \ -t pythondiscord/snekbox-venv:latest \ -f docker/venv.Dockerfile \ . """ builddev = """ docker build \ -t pythondiscord/snekbox-venv:dev \ -f docker/venv.Dockerfile \ --build-arg DEV=1 \ . """