diff options
| author | 2019-01-03 17:17:57 -0500 | |
|---|---|---|
| committer | 2019-01-03 17:17:57 -0500 | |
| commit | 92f5466402a3abf9a7771d0c677286306060030d (patch) | |
| tree | 28d3ff80071235f8005008722b3068909e3489ef /Pipfile | |
| parent | Merge pull request #249 from python-discord/hemlock/codeblock_retribution (diff) | |
Add pre-commit dev dependency & flake8 configuration
Relock pipenv
Add pre-commit pipenv script
Diffstat (limited to 'Pipfile')
| -rw-r--r-- | Pipfile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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" |