Skip to content
Snippets Groups Projects
Commit aa80fc52 authored by Willem-Jan Vriend's avatar Willem-Jan Vriend
Browse files

exclude notebooks from black

parent 511b3f62
Branches
1 merge request!374Wjv/bugfix/raw sim notebooks from yixian
Pipeline #21091 failed with stages
in 51 minutes and 43 seconds
...@@ -60,7 +60,7 @@ python -c "import scopesim" || pip install "ScopeSIM==0.5.4" ...@@ -60,7 +60,7 @@ python -c "import scopesim" || pip install "ScopeSIM==0.5.4"
# ScopeSim_Templates fetches data from the internet, which does not work # ScopeSim_Templates fetches data from the internet, which does not work
# when using conda-build. # when using conda-build.
#python -c "import scopesim_templates" || pip install git+https://github.com/AstarVienna/ScopeSim_Templates.git@dev_master #python -c "import scopesim_templates" || pip install -e git+https://github.com/AstarVienna/ScopeSim_Templates.git@master
python -c "import scopesim_templates" || pip install "ScopeSIM_Templates==0.4.2" python -c "import scopesim_templates" || pip install "ScopeSIM_Templates==0.4.2"
# TODO: Fetch ScopeSim data package. # TODO: Fetch ScopeSim data package.
...@@ -133,7 +133,6 @@ fi ...@@ -133,7 +133,6 @@ fi
echo "Running functional tests." echo "Running functional tests."
coverage run --branch --source="${MICADO_DIR}" -m pytest \ coverage run --branch --source="${MICADO_DIR}" -m pytest \
"${SRC_DIR}/src/micado/test/functional" "${SRC_DIR}/src/micado/test/functional"
#python -m pytest "${SRC_DIR}/src/micado/test/functional"
# Do integration tests, in particular database and CPL tests. # Do integration tests, in particular database and CPL tests.
# These tests are not required to build the package, only in CI. # These tests are not required to build the package, only in CI.
...@@ -177,7 +176,7 @@ coverage report -m ...@@ -177,7 +176,7 @@ coverage report -m
# TODO: Reenable flake8 # TODO: Reenable flake8
#flake8 --docstring-convention google --max-line-length 120 --max-doc-length 80 --extend-ignore=E203 "${SRC_DIR}/src/micado" #flake8 --docstring-convention google --max-line-length 120 --max-doc-length 80 --extend-ignore=E203 "${SRC_DIR}/src/micado"
black --check "${SRC_DIR}/src/micado" black --check --exclude "notebooks/*" "${SRC_DIR}/src/micado"
# Install sourcery. This might break things and is thus disabled for now. # Install sourcery. This might break things and is thus disabled for now.
#pip install sourcery-cli #pip install sourcery-cli
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment