Implemented offset and predict in anomaly #149
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Linter | |
| on: [push, pull_request] | |
| jobs: | |
| blackflakedoc: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: psf/black@stable | |
| with: | |
| options: "--check --verbose" | |
| src: "./distclassipy" | |
| jupyter: true | |
| version: "~= 24.0" | |
| - name: Run flake8 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - run: | | |
| pip install flake8 | |
| flake8 --extend-ignore=E203,E701 --max-line-length 88 tests/ distclassipy setup.py --show-source --statistics | |
| - name: Run pydocstyle | |
| run: | | |
| pip install pydocstyle | |
| pydocstyle distclassipy --convention=numpy |