Skip to content

Commit

Permalink
Update test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
einarf committed Oct 13, 2023
1 parent a86aea0 commit 19f99a8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[tests]
pip install -flake8 pytest
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,16 @@ source = ["moderngl_window"]
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[tool.flake8]
ignore = [
"W503",
"C901",
]
max-complexity = 10
max-line-length = 120
exclude = [
"tests/",
"docs/",
"temp/",
]

0 comments on commit 19f99a8

Please sign in to comment.