Skip to content

Commit 8d9a256

Browse files
committed
Bump to Python 3.8
1 parent c4c654d commit 8d9a256

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,18 +113,18 @@ pre-commit: .git/hooks/pre-commit ## Create the pre-commit hook
113113
# Linting and code analysis
114114
.PHONY: black
115115
black: venv ## Format the code using black
116-
$(BLACK) --safe --line-length 120 --target-version py35 $(PACKAGE_DIR)
117-
$(BLACK) --safe --line-length 120 --target-version py35 $(TEST_DIR)
116+
$(BLACK) --safe --line-length 120 --target-version py38 $(PACKAGE_DIR)
117+
$(BLACK) --safe --line-length 120 --target-version py38 $(TEST_DIR)
118118
ifneq ("$(wildcard setup.py)", "")
119-
$(BLACK) --safe --line-length 120 --target-version py35 setup.py
119+
$(BLACK) --safe --line-length 120 --target-version py38 setup.py
120120
endif
121121

122122
.PHONY: lint-black
123123
lint-black: venv ## Check that the code is formatted using black
124-
$(BLACK) --check --line-length 120 --safe --target-version py35 $(PACKAGE_DIR)
125-
$(BLACK) --check --line-length 120 --safe --target-version py35 $(TEST_DIR)
124+
$(BLACK) --check --line-length 120 --safe --target-version py38 $(PACKAGE_DIR)
125+
$(BLACK) --check --line-length 120 --safe --target-version py38 $(TEST_DIR)
126126
ifneq ("$(wildcard setup.py)", "")
127-
$(BLACK) --check --line-length 120 --safe --target-version py35 setup.py
127+
$(BLACK) --check --line-length 120 --safe --target-version py38 setup.py
128128
endif
129129

130130
.PHONY: lint-flake8

0 commit comments

Comments
 (0)