diff --git a/Jenkinsfile b/Jenkinsfile index a27c617f7..861a6c145 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -55,7 +55,7 @@ builders = pipeline_builder.createBuilders { container -> cd ${project} export LC_ALL=en_US.utf-8 export LANG=en_US.utf-8 - build_env/bin/python -m black --exclude build_env,definitions,nx-class-documentation . + build_env/bin/python -m black --extend-exclude (build_env|definitions|nx-class-documentation) . git config user.email 'dm-jenkins-integration@esss.se' git config user.name 'cow-bot' git status -s diff --git a/setup.cfg b/setup.cfg index af50c7a33..c5597406a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [flake8] -exclude = .git,venv,build_env,build,README.md,ui,definitions +exclude = .git,venv,build_env,build,README.md,ui,definitions,nx-class-documentation max-line-length = 119 ignore = E501, E203, E402, W503, Q000, W293, E266, E123, C901 # E501 & E203: Formatting handled by Black @@ -16,7 +16,7 @@ per-file-ignores = tests/*:E402,F821 [isort] -skip = ui,definitions +skip = ui,definitions,nx-class-documentation [tool:pytest] addopts = -s