File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
st2tests/st2tests/fixtures/packs Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 2525jobs :
2626 # Lint checks which don't depend on any service containes, etc. to be running.
2727 lint-checks :
28- name : ' Lint Checks (pants runs: shellcheck)'
28+ name : ' Lint Checks (pants runs: shellcheck, black )'
2929 runs-on : ubuntu-latest
3030
3131 env :
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ backend_packages = [
1212 " pants.backend.python" ,
1313 " pants.backend.experimental.python" , # activates twine `publish` support
1414 " pants.backend.python.mixed_interpreter_constraints" ,
15+ " pants.backend.python.lint.black" ,
1516
1617 # shell
1718 " pants.backend.shell" ,
@@ -80,3 +81,6 @@ root_patterns = [
8081 # benchmarks
8182 " /st2common/benchmarks/micro" ,
8283]
84+
85+ [black ]
86+ version = " black==22.3.0"
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ shell_sources(
2222
2323python_sources (
2424 name = "test_content_version" ,
25+ skip_black = True ,
2526 dependencies = [
2627 ":test_content_version_metadata" ,
2728 ":test_content_version_shell" ,
You can’t perform that action at this time.
0 commit comments