Skip to content

Commit 8451fe8

Browse files
committed
Formatting fix to make linter happy
1 parent 5aa6155 commit 8451fe8

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

launchable/commands/subset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ def get_payload(
529529

530530
def _collect_potential_test_files(self):
531531
LOOSE_TEST_FILE_PATTERN = r'(\.(test|spec)\.|_test\.|Test\.|Spec\.|test/|tests/|__tests__/|src/test/)'
532-
EXCLUDE_PATTERN = r'(BUILD|Makefile|Dockerfile|LICENSE|.gitignore|.gitkeep|.keep|id_rsa|rsa|blank|taglib)|\.(xml|json|jsonl|txt|yml|yaml|toml|md|png|jpg|jpeg|gif|svg|sql|html|css|graphql|proto|gz|zip|rz|bzl|conf|config|snap|pem|crt|key|lock|jpi|hpi|jelly|properties|jar|ini|mod|sum|bmp|env|envrc|sh)$' ## noqa E501
532+
EXCLUDE_PATTERN = r'(BUILD|Makefile|Dockerfile|LICENSE|.gitignore|.gitkeep|.keep|id_rsa|rsa|blank|taglib)|\.(xml|json|jsonl|txt|yml|yaml|toml|md|png|jpg|jpeg|gif|svg|sql|html|css|graphql|proto|gz|zip|rz|bzl|conf|config|snap|pem|crt|key|lock|jpi|hpi|jelly|properties|jar|ini|mod|sum|bmp|env|envrc|sh)$' # noqa E501
533533

534534
try:
535535
git_managed_files = subprocess.run(['git', 'ls-files'], stdout=subprocess.PIPE,

launchable/test_runners/karma.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
from ..testpath import TestPath
1111
from . import launchable
1212

13-
@click.option('--with','_with')
13+
14+
@click.option('--with', '_with')
1415
@launchable.subset
15-
def subset(client, _with :str):
16+
def subset(client, _with: str):
1617
# TODO: implement the --with ng option
1718

1819
# read lines as test file names
@@ -21,6 +22,7 @@ def subset(client, _with :str):
2122

2223
client.run()
2324

25+
2426
@click.argument('reports', required=True, nargs=-1)
2527
@launchable.record.tests
2628
def record_tests(client, reports):

launchable/test_runners/prove.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def remove_leading_number_and_dash(input_string: str) -> str:
1616

1717
subset = launchable.CommonSubsetImpls(__name__).scan_files()
1818

19+
1920
@click.argument('reports', required=True, nargs=-1)
2021
@launchable.record.tests
2122
def record_tests(client, reports):

tests/test_testpath.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import sys
55
import tempfile
66
import unittest
7+
78
# hello smart tests
89
from launchable.testpath import FilePathNormalizer, parse_test_path, unparse_test_path
910

0 commit comments

Comments
 (0)