Skip to content

Commit

Permalink
fix module import on check command (#51)
Browse files Browse the repository at this point in the history
* fix module import on check command
* try pinning down the pyflakes version
  • Loading branch information
PauloMigAlmeida committed Oct 8, 2021
1 parent 55db827 commit 5b57e90
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2

- name: Setup black environment
run: conda create --quiet --name black pyflakes
run: conda create --quiet --name black

- name: Check formatting with black
run: |
Expand All @@ -27,6 +27,7 @@ jobs:
run: |
export PATH="/usr/share/miniconda/bin:$PATH"
source activate black
pip install pyflakes==2.4.0
pyflakes scompose/utils
# Will have some issues
pyflakes scompose/client scompose/project scompose/config || true
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The versions coincide with releases on pypi.

## [0.0.x](https://github.com/singularityhub/singularity-compose/tree/master) (0.0.x)

- fix module import used by check command (0.0.13)
- adding jsonschema validation and check command (0.0.12)
- implement configuration override feature
- implement `--preview` argument for the `check` command
Expand Down
2 changes: 1 addition & 1 deletion scompose/client/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from scompose.logger import bot
from scompose.config import merge_config
from scompose.config.validate import validate_config
from scompose.config.schema import validate_config
import yaml


Expand Down

0 comments on commit 5b57e90

Please sign in to comment.