Skip to content
Snippets Groups Projects
Commit 0341e9b5 authored by Philipp Arras's avatar Philipp Arras
Browse files

Add flake8 to CI

parent b5452814
Branches
No related tags found
No related merge requests found
...@@ -36,3 +36,8 @@ mytest: ...@@ -36,3 +36,8 @@ mytest:
script: script:
- pytest-3 -q --cov=resolve test.py - pytest-3 -q --cov=resolve test.py
coverage: '/^TOTAL.+?(\d+\%)$/' coverage: '/^TOTAL.+?(\d+\%)$/'
staticchecks:
stage: testing
script:
- flake8 .
...@@ -2,7 +2,14 @@ FROM ubuntu:20.04 ...@@ -2,7 +2,14 @@ FROM ubuntu:20.04
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -qq && apt-get install -qq \ RUN apt-get update -qq && apt-get install -qq git
git python3-pip casacore-dev python3-pytest-cov python3-matplotlib
# Actual dependencies
RUN apt-get update -qq && apt-get install -qq python3-pip casacore-dev python3-matplotlib
RUN pip3 install scipy git+https://gitlab.mpcdf.mpg.de/ift/nifty.git@NIFTy_7 RUN pip3 install scipy git+https://gitlab.mpcdf.mpg.de/ift/nifty.git@NIFTy_7
RUN pip3 install git+https://gitlab.mpcdf.mpg.de/mtr/ducc.git@ducc0 RUN pip3 install git+https://gitlab.mpcdf.mpg.de/mtr/ducc.git@ducc0
# Optional dependencies
RUN pip3 install astropy
# Testing dependencies
RUN apt-get install -qq python3-pytest-cov
RUN pip3 install flake8
#+TITLE: The future #+TITLE: The future
#+AUTHOR: Philipp Arras
* To be investigated * To be investigated
** Baseline-dependent averaging [[https://arxiv.org/pdf/1802.09321.pdf][arXiv]] ** Baseline-dependent averaging [[https://arxiv.org/pdf/1802.09321.pdf][arXiv]]
* Technical
** Make matplotlib optional dependency
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment