Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakers-the-rat committed Oct 30, 2024
1 parent ce0d583 commit c4047f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_template_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,11 @@ def test_dev_platform_github(generated: Callable[..., Path]):
"""Test github stuff idk!."""
project = generated(use_git=True, dev_platform="GitHub")

workflows_dir = project / '.github' / 'workflows'
workflows_dir = project / ".github" / "workflows"
assert workflows_dir.exists()
workflows = list(workflows_dir.iterdir())
assert len(workflows) > 0
assert all(workflow.suffix in ('.yml', '.yaml') for workflow in workflows)
assert all(workflow.suffix in (".yml", ".yaml") for workflow in workflows)

subprocess.run(
"pre-commit run --all-files -v check-github-workflows",
Expand Down

0 comments on commit c4047f7

Please sign in to comment.