Skip to content

Commit

Permalink
v4.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnz committed Apr 8, 2020
2 parents 36cf89e + 76c7a67 commit de34079
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

setup(
name='stograde',
version='4.0.1',
version='4.0.2',
description='The StoGrade Toolkit',
author='Hawken Rives',
author_email='hawkrives@gmail.com',
Expand Down
1 change: 1 addition & 0 deletions stograde/specs/stogradeignore.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ def load_stogradeignore() -> List[str]:
with open('.stogradeignore', encoding='utf-8') as infile:
ignored_specs = [line.strip() for line in infile.read().splitlines()]
logging.debug("Ignored specs: {}".format(ignored_specs))
return ignored_specs
except FileNotFoundError:
logging.debug("No .stogradeignore file found")
return []
1 change: 1 addition & 0 deletions stograde/toolkit/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ def process_args() -> Tuple[Dict[str, Any], List[str], List[str]]:
assignments = get_ci_assignments()
students = [os.environ['CI_PROJECT_NAME']]
args['course'] = os.environ['CI_PROJECT_NAMESPACE']
global_vars.CI = True

# record SubCommand
elif command == 'record':
Expand Down
1 change: 0 additions & 1 deletion stograde/toolkit/subcommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def do_ci(specs: Dict[str, 'Spec'],
base_dir: str,
stogit_url: str,
args: Dict[str, Any]):
global_vars.CI = True
skip_web_compile: bool = args['skip_web_compile']

results: List['StudentResult'] = process_students(specs=specs,
Expand Down

0 comments on commit de34079

Please sign in to comment.