From 83888daf07a8967263efe10e9cab7c39874ea161 Mon Sep 17 00:00:00 2001 From: Gal Topper Date: Thu, 4 Jan 2024 20:12:47 +0800 Subject: [PATCH] Fix typo (#114) --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 106e959..cd94bf2 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ # # We only want to format and lint checked in python files -CHECKED_IN_PYTHING_FILES := $(shell git ls-files | grep '\.py$$') +CHECKED_IN_PYTHON_FILES := $(shell git ls-files | grep '\.py$$') FLAKE8_OPTIONS := --max-line-length 120 --extend-ignore E203,W503 BLACK_OPTIONS := --line-length 120 @@ -27,8 +27,8 @@ all: .PHONY: fmt fmt: @echo "Running black fmt..." - python -m black $(BLACK_OPTIONS) $(CHECKED_IN_PYTHING_FILES) - python -m isort $(ISORT_OPTIONS) $(CHECKED_IN_PYTHING_FILES) + python -m black $(BLACK_OPTIONS) $(CHECKED_IN_PYTHON_FILES) + python -m isort $(ISORT_OPTIONS) $(CHECKED_IN_PYTHON_FILES) .PHONY: lint lint: flake8 fmt-check @@ -36,13 +36,13 @@ lint: flake8 fmt-check .PHONY: fmt-check fmt-check: @echo "Running black+isort fmt check..." - python -m black $(BLACK_OPTIONS) --check --diff $(CHECKED_IN_PYTHING_FILES) - python -m isort --check --diff $(ISORT_OPTIONS) $(CHECKED_IN_PYTHING_FILES) + python -m black $(BLACK_OPTIONS) --check --diff $(CHECKED_IN_PYTHON_FILES) + python -m isort --check --diff $(ISORT_OPTIONS) $(CHECKED_IN_PYTHON_FILES) .PHONY: flake8 flake8: @echo "Running flake8 lint..." - python -m flake8 $(FLAKE8_OPTIONS) $(CHECKED_IN_PYTHING_FILES) + python -m flake8 $(FLAKE8_OPTIONS) $(CHECKED_IN_PYTHON_FILES) .PHONY: clean_pyc clean_pyc: