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 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