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