aboutsummaryrefslogtreecommitdiffstats
path: root/Pipfile
diff options
context:
space:
mode:
authorGravatar Chris Goes <[email protected]>2019-01-04 20:37:22 -0700
committerGravatar GitHub <[email protected]>2019-01-04 20:37:22 -0700
commite9b229878341b8a55342ead3c50aaab73ab12fb7 (patch)
tree28d3ff80071235f8005008722b3068909e3489ef /Pipfile
parentMerge pull request #249 from python-discord/hemlock/codeblock_retribution (diff)
parentAdd pre-commit dev dependency & flake8 configuration (diff)
Merge pull request #252 from python-discord/pre-commit
Add pre-commit
Diffstat (limited to 'Pipfile')
-rw-r--r--Pipfile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Pipfile b/Pipfile
index 179b317df..3df5ea7c0 100644
--- a/Pipfile
+++ b/Pipfile
@@ -4,7 +4,7 @@ verify_ssl = true
name = "pypi"
[packages]
-discord-py = {git = "https://github.com/Rapptz/discord.py.git", extras = ["voice"], ref = "860d6a9ace8248dfeec18b8b159e7b757d9f56bb", editable = true}
+discord-py = {git = "https://github.com/Rapptz/discord.py.git",extras = ["voice"],ref = "860d6a9ace8248dfeec18b8b159e7b757d9f56bb",editable = true}
dulwich = "*"
aiodns = "*"
logmatic-python = "*"
@@ -29,6 +29,7 @@ requests = "*"
"flake8-string-format" = "*"
safety = "*"
dodgy = "*"
+pre-commit = "*"
[requires]
python_version = "3.6"
@@ -36,12 +37,10 @@ python_version = "3.6"
[scripts]
start = "python -m bot"
lint = "python -m flake8"
-
+precommit = "pre-commit install"
build = "docker build -t pythondiscord/bot:latest -f docker/bot.Dockerfile ."
push = "docker push pythondiscord/bot:latest"
-
buildbase = "docker build -t pythondiscord/bot-base:latest -f docker/base.Dockerfile ."
pushbase = "docker push pythondiscord/bot-base:latest"
-
buildci = "docker build -t pythondiscord/bot-ci:latest -f docker/ci.Dockerfile ."
pushci = "docker push pythondiscord/bot-ci:latest"