diff --git a/.github/workflows/static-checks-and-unit-tests.yml b/.github/workflows/static-checks-and-unit-tests.yml index 627c61b..7033c02 100644 --- a/.github/workflows/static-checks-and-unit-tests.yml +++ b/.github/workflows/static-checks-and-unit-tests.yml @@ -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: | diff --git a/dev-tools/dev_tools.py b/dev-tools/dev_tools.py index 4e6952d..89cff96 100644 --- a/dev-tools/dev_tools.py +++ b/dev-tools/dev_tools.py @@ -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()])