mirror of
https://github.com/Stability-AI/generative-models.git
synced 2026-02-23 14:44:31 +01:00
Pre release changes for production (#59)
* clean requirements * rm taming deps * isort, black * mv lipips, license * clean vq, fix path * fix loss path, gitignore * tested requirements pt13 * fix numpy req for python3.8, add tests * fix name * fix dep scipy 3.8 pt2 * add black test formatter
This commit is contained in:
15
.github/workflows/black.yml
vendored
Normal file
15
.github/workflows/black.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
name: Run black
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install venv
|
||||
run: |
|
||||
sudo apt-get -y install python3.10-venv
|
||||
- uses: psf/black@stable
|
||||
with:
|
||||
options: "--check --verbose -l88"
|
||||
src: "./sgm ./scripts ./main.py"
|
||||
Reference in New Issue
Block a user