aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2023-03-04 12:43:22 +0100
committerMartin Polden <mpolden@mpolden.no>2023-03-04 12:44:22 +0100
commit76d580e19ead7162b5622e1c74649a15f1c38816 (patch)
tree8d82ac75bf3219864e996ad359072cee525bd679
parent3629afba8cf3575b88e2898788035fd17360a98f (diff)
makefile, requirements: remove flake8
-rw-r--r--Makefile6
-rw-r--r--requirements-build.txt17
2 files changed, 7 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index 2776906..3fe3ddb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,4 @@
PYTHON ?= python3
-FLAKE8 ?= $(PYTHON) -m flake8 --max-complexity=8
BLACK ?= $(PYTHON) -m black --quiet --check
PIP ?= $(PYTHON) -m pip
VENV ?= $(PYTHON) -m venv
@@ -7,14 +6,11 @@ APP_ROOT := jarvis
all: clean lint test
-lint-py: black flake8
+lint-py: black
black:
git ls-files '*.py' | xargs $(BLACK)
-flake8:
- git ls-files '*.py' | xargs $(FLAKE8)
-
lint-js:
ifdef CI
git ls-files '*.js' | xargs jshint
diff --git a/requirements-build.txt b/requirements-build.txt
index c24437a..2d7ad9d 100644
--- a/requirements-build.txt
+++ b/requirements-build.txt
@@ -1,11 +1,6 @@
-black==22.1.0
-click==8.0.4
-flake8==4.0.1
-mccabe==0.6.1
-mypy-extensions==0.4.3
-pathspec==0.9.0
-platformdirs==2.5.1
-pycodestyle==2.8.0
-pyflakes==2.4.0
-tomli==2.0.1
-typing_extensions==4.1.1
+black==23.1.0
+click==8.1.3
+mypy-extensions==1.0.0
+packaging==23.0
+pathspec==0.11.0
+platformdirs==3.1.0