File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff 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
115115black : 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 )
118118ifneq ("$(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
120120endif
121121
122122.PHONY : lint-black
123123lint-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 )
126126ifneq ("$(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
128128endif
129129
130130.PHONY : lint-flake8
Original file line number Diff line number Diff line change 1- """Exceptions for use throughout the code.
2-
3- """
1+ """Exceptions for use throughout the code."""
42
53
64class LockNotAcquiredException (Exception ):
You can’t perform that action at this time.
0 commit comments