Skip to content

adding pre-commit-hooks to readme #24

adding pre-commit-hooks to readme

adding pre-commit-hooks to readme #24

Workflow file for this run

name: Python Package Using Anaconda
on: [push]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: "3.11"
- name: Install dependencies
run: |
conda env update --file environment.yml --name adl
- name: Lint with flake8
run: |
conda install flake8
# Lint using flake8 with settings from .flake8 file
$CONDA/bin/flake8 --config .flake8
- name: Test with pytest
run: |
conda install pytest
$CONDA/bin/pytest