Added return type to method headers #81
This file contains 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: | |
black: | |
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 |