From 00a1ba83ff680016d54352437740d79fb82815da Mon Sep 17 00:00:00 2001 From: Nils Homer Date: Fri, 28 Jul 2023 09:04:13 -0700 Subject: [PATCH] Change line length to 120 --- ci/flake8.cfg | 2 +- ci/precommit.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/flake8.cfg b/ci/flake8.cfg index 7fd3e94..f90503c 100644 --- a/ci/flake8.cfg +++ b/ci/flake8.cfg @@ -1,6 +1,6 @@ # flake8 config file for pyclient [flake8] -max_line_length = 99 +max_line_length = 120 show-source = true ignore = E701 W504 W503 E203 diff --git a/ci/precommit.sh b/ci/precommit.sh index 883ad27..34c981a 100755 --- a/ci/precommit.sh +++ b/ci/precommit.sh @@ -61,7 +61,7 @@ fi pushd $root > /dev/null banner "Executing in conda environment ${CONDA_DEFAULT_ENV} in directory ${root}" run "Unit Tests" "pytest -vv -r sx pyclient" -run "Style Checking" "black --line-length 99 --check pyclient" +run "Style Checking" "black --line-length 120 --check pyclient" run "Linting" "flake8 --config=$parent/flake8.cfg pyclient" run "Type Checking" "mypy -p pyclient --config $parent/mypy.ini" popd > /dev/null