diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 5989973c..b99aa55c 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v2 diff --git a/Makefile b/Makefile index 9c347328..f623e47d 100644 --- a/Makefile +++ b/Makefile @@ -113,18 +113,18 @@ pre-commit: .git/hooks/pre-commit ## Create the pre-commit hook # Linting and code analysis .PHONY: black black: venv ## Format the code using black - $(BLACK) --safe --line-length 120 --target-version py35 $(PACKAGE_DIR) - $(BLACK) --safe --line-length 120 --target-version py35 $(TEST_DIR) + $(BLACK) --safe --line-length 120 --target-version py38 $(PACKAGE_DIR) + $(BLACK) --safe --line-length 120 --target-version py38 $(TEST_DIR) ifneq ("$(wildcard setup.py)", "") - $(BLACK) --safe --line-length 120 --target-version py35 setup.py + $(BLACK) --safe --line-length 120 --target-version py38 setup.py endif .PHONY: lint-black lint-black: venv ## Check that the code is formatted using black - $(BLACK) --check --line-length 120 --safe --target-version py35 $(PACKAGE_DIR) - $(BLACK) --check --line-length 120 --safe --target-version py35 $(TEST_DIR) + $(BLACK) --check --line-length 120 --safe --target-version py38 $(PACKAGE_DIR) + $(BLACK) --check --line-length 120 --safe --target-version py38 $(TEST_DIR) ifneq ("$(wildcard setup.py)", "") - $(BLACK) --check --line-length 120 --safe --target-version py35 setup.py + $(BLACK) --check --line-length 120 --safe --target-version py38 setup.py endif .PHONY: lint-flake8 diff --git a/androidtv/exceptions.py b/androidtv/exceptions.py index 10a3aff6..326e5db4 100644 --- a/androidtv/exceptions.py +++ b/androidtv/exceptions.py @@ -1,6 +1,4 @@ -"""Exceptions for use throughout the code. - -""" +"""Exceptions for use throughout the code.""" class LockNotAcquiredException(Exception):