Skip to content

Commit

Permalink
Merge pull request #75 from jelmer/ruff-format
Browse files Browse the repository at this point in the history
Reformat python code with "ruff format"
  • Loading branch information
jelmer authored Dec 21, 2023
2 parents 391a541 + 470dec1 commit 123d67d
Show file tree
Hide file tree
Showing 44 changed files with 2,554 additions and 2,137 deletions.
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ddaa318beb3a30fee3a531133c2cf8f379269693 # Original reformat with ruff
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
run: autoreconf -fi && ./configure && make
- name: Run ruff check
run: ruff check python
- name: Format
run: |
python -m ruff format --check .
- name: Run make check
run: make check
- name: Run make distcheck
Expand Down
5 changes: 2 additions & 3 deletions all_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@


class ShellTests(subunit.ExecTestCase):

def test_sourcing(self):
"""./shell/tests/test_source_library.sh"""

Expand All @@ -31,6 +30,6 @@ def test_functions(self):
def test_suite():
result = unittest.TestSuite()
result.addTest(subunit.test_suite())
result.addTest(ShellTests('test_sourcing'))
result.addTest(ShellTests('test_functions'))
result.addTest(ShellTests("test_sourcing"))
result.addTest(ShellTests("test_functions"))
return result
Loading

0 comments on commit 123d67d

Please sign in to comment.