diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 02f78ab3..559367da 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -79,5 +79,4 @@ jobs: steps: - uses: actions/checkout@v3 - run: pip install --user ruff - - run: ruff --extend-select=C4,C9,I,PLC,PLE,PLR,U --format=github - --ignore=C414,I001,UP032 --target-version=py37 . + - run: ruff --extend-select=C4,C9,I,PLC,PLE,PLR,U --ignore=C414,I001,UP032 --target-version=py38 . diff --git a/tests/tests/test_glob.py b/tests/tests/test_glob.py index d19aa356..bd484842 100644 --- a/tests/tests/test_glob.py +++ b/tests/tests/test_glob.py @@ -96,4 +96,4 @@ def test_glob_directory_with_trailing_slash(self): # ends with os.sep doesn't blow up. paths = glob.glob('*' + os.sep) self.assertEqual(len(paths), 4) - self.assertTrue(all([os.sep in path for path in paths])) + self.assertTrue(all(os.sep in path for path in paths))