Skip to content

Commit 5b57e90

Browse files
fix module import on check command (#51)
* fix module import on check command * try pinning down the pyflakes version
1 parent 55db827 commit 5b57e90

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v2
1515

1616
- name: Setup black environment
17-
run: conda create --quiet --name black pyflakes
17+
run: conda create --quiet --name black
1818

1919
- name: Check formatting with black
2020
run: |
@@ -27,6 +27,7 @@ jobs:
2727
run: |
2828
export PATH="/usr/share/miniconda/bin:$PATH"
2929
source activate black
30+
pip install pyflakes==2.4.0
3031
pyflakes scompose/utils
3132
# Will have some issues
3233
pyflakes scompose/client scompose/project scompose/config || true

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The versions coincide with releases on pypi.
1515

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

18+
- fix module import used by check command (0.0.13)
1819
- adding jsonschema validation and check command (0.0.12)
1920
- implement configuration override feature
2021
- implement `--preview` argument for the `check` command

scompose/client/check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
from scompose.logger import bot
1212
from scompose.config import merge_config
13-
from scompose.config.validate import validate_config
13+
from scompose.config.schema import validate_config
1414
import yaml
1515

1616

0 commit comments

Comments
 (0)