Merge branch 'main' of github.com:drowning-in-codes/UFGAN #9
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: ForLint | |
on: [push] | |
jobs: | |
format_and_lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10"] | |
steps: | |
- name: format with black | |
uses: jpetrucciani/[email protected] | |
with: | |
# File or directory to run black on | |
path: . | |
- name: Lint | |
uses: programmingwithalex/[email protected] | |
with: | |
# directory to run linting on | |
python-root: # optional, default is . | |
# flake8 flags | |
flake8-flags: # optional, default is | |
# mypy flags | |
mypy-flags: # optional, default is | |
# optional exit on isort errors | |
fail-on-isort: # optional | |
# skip flake8 checks | |
skip-flake8: # optional | |
# skip mypy checks | |
skip-mypy: # optional | |
# skip isort checks | |
skip-isort: # optional | |
# list of directories and/or files to ignore for mypy. separate with spaces | |
mypy-ignore-dirs-files: # optional, default is | |
# requirements filepath for project for mypy to prevent library stub missing errors | |
requirements-file: # optional, default is | |