Skip to content

Commit

Permalink
[ci][clean] Move flake8 config into the pyproject.toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
lpascal-ledger committed Feb 7, 2024
1 parent 2e26a10 commit bcd189d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/fast-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
with:
fetch-depth: 0
- name: Python dependency
run: pip install flake8
run: pip install flake8 flake8-pyproject
- name: Lint Python code
run: find speculos/ -type f -name '*.py' -exec flake8 --max-line-length=120 '{}' '+'
run: flake8 speculos* setup.py

linter-c:
name: Linter on C code
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,7 @@ write_to = "speculos/__version__.py"
local_scheme = "no-local-version"

[tool.mypy]
ignore_missing_imports = true
ignore_missing_imports = true

[tool.flake8]
max-line-length = 120

0 comments on commit bcd189d

Please sign in to comment.