aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-05-30 18:27:58 -0700
committerGravatar MarkKoz <[email protected]>2019-05-30 18:27:58 -0700
commitce8aedc9a150dfa53d12bd9b9145fea9c05d8799 (patch)
treeba97299ec4be67eea9fbde40e0126f791c785c9d
parentRevert "Lint tests" (diff)
Revert "Run flake8 via pre-commit for the pipenv lint script"
This reverts commit c2416eb672afc80476fe2da1b364af5d018a16b0.
-rw-r--r--Pipfile8
1 files changed, 1 insertions, 7 deletions
diff --git a/Pipfile b/Pipfile
index ea6299b..69bb0df 100644
--- a/Pipfile
+++ b/Pipfile
@@ -26,13 +26,7 @@ flake8-quotes = "*"
python_version = "3.7"
[scripts]
-lint = """
-python -c
-\"import subprocess, sys
-files = subprocess.check_output(('git', 'ls-files', '--', '*.py')).decode('UTF-8').strip()
-args = ['pre-commit', 'run', 'flake8', '--files'] + files.split('\\n')
-subprocess.run(args, stdout=sys.stdout, stderr=sys.stderr)\"
-"""
+lint = "flake8"
precommit = "pre-commit install"
test = "pytest tests --cov . --cov-report term-missing -v"
report = "pytest tests --cov . --cov-report=html"