Skip to content

Commit

Permalink
piepline fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-swob committed Nov 12, 2024
1 parent c2e332d commit 929ea52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static-checks-and-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Build documentation
run: python dev-tools/dev_tools.py --doc
- name: Upload test results and coverage reports
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: pytrnsys-process-build-artifacts-linux
path: |
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/dev_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def _maybe_run_pylint(arguments):

def _maybe_run_black(arguments):
if arguments.shallRunAll or arguments.shallPerformStaticChecks or arguments.blackArguments is not None:
cmd = _create_static_checker_command("black", "-l 120")
cmd = _create_static_checker_command("black", "-l 79")
additional_args = "--check" if arguments.blackArguments is None else arguments.blackArguments

_print_and_run([*cmd, *additional_args.split()])
Expand Down

0 comments on commit 929ea52

Please sign in to comment.