From 77b89c1deff661c2bc318c3f73d11407d279310d Mon Sep 17 00:00:00 2001 From: Steven Rieder Date: Mon, 16 Dec 2024 15:24:09 +0100 Subject: [PATCH 1/2] Create black.yml action --- .github/workflows/black.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/black.yml diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml new file mode 100644 index 0000000..02366d4 --- /dev/null +++ b/.github/workflows/black.yml @@ -0,0 +1,14 @@ +name: Lint + +on: [pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: psf/black@stable + with: + options: "--check --verbose" + src: "./src" + # use_pyproject: true From 632d135c0b380bae424b2bd7db86b08489526d12 Mon Sep 17 00:00:00 2001 From: Steven Rieder Date: Mon, 16 Dec 2024 15:25:59 +0100 Subject: [PATCH 2/2] Update .gitignore --- .gitignore | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index f86f759..38ceb2e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,15 +1,8 @@ .DS_Store -src/.DS_Store -src/RT_tables/.DS_Store -examples/.DS_Store -examples/materials/.DS_Store -tests/.DS_Store -tests/materials/.DS_Store src/__pycache__/ examples/.ipynb_checkpoints examples/WASP52b_dT.csv examples/WASP52b_sigmaT.csv examples/WASP52b_nsig_fit.csv env/ -src/sunbather -*.egg-info \ No newline at end of file +*.egg-info