Skip to content

Commit 123d67d

Browse files
authored
Merge pull request #75 from jelmer/ruff-format
Reformat python code with "ruff format"
2 parents 391a541 + 470dec1 commit 123d67d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+2554
-2137
lines changed

.git-blame-ignore-revs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ddaa318beb3a30fee3a531133c2cf8f379269693 # Original reformat with ruff

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
run: autoreconf -fi && ./configure && make
2929
- name: Run ruff check
3030
run: ruff check python
31+
- name: Format
32+
run: |
33+
python -m ruff format --check .
3134
- name: Run make check
3235
run: make check
3336
- name: Run make distcheck

all_tests.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121

2222
class ShellTests(subunit.ExecTestCase):
23-
2423
def test_sourcing(self):
2524
"""./shell/tests/test_source_library.sh"""
2625

@@ -31,6 +30,6 @@ def test_functions(self):
3130
def test_suite():
3231
result = unittest.TestSuite()
3332
result.addTest(subunit.test_suite())
34-
result.addTest(ShellTests('test_sourcing'))
35-
result.addTest(ShellTests('test_functions'))
33+
result.addTest(ShellTests("test_sourcing"))
34+
result.addTest(ShellTests("test_functions"))
3635
return result

0 commit comments

Comments
 (0)