Skip to content

Commit

Permalink
Remove format flag from ruff command
Browse files Browse the repository at this point in the history
  • Loading branch information
peymanslh committed Nov 28, 2023
1 parent bc2a5f5 commit bb7a4a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
2 changes: 1 addition & 1 deletion tests/tests/test_glob.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

0 comments on commit bb7a4a9

Please sign in to comment.