Skip to content

Commit cf5a370

Browse files
committed
Merge branch 'patch-2' into patch-1
2 parents c5c0640 + 8d9a256 commit cf5a370

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
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

androidtv/exceptions.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
"""Exceptions for use throughout the code.
2-
3-
"""
1+
"""Exceptions for use throughout the code."""
42

53

64
class LockNotAcquiredException(Exception):

0 commit comments

Comments
 (0)