Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
define flake8 config in pyproject.toml / remove setup.py
  • Loading branch information
syntron committed Nov 4, 2025
commit 5310cb9b5d044ee2f56c67589af699d550065467
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ repos:
rev: '7.2.0'
hooks:
- id: flake8
additional_dependencies:
- Flake8-pyproject

- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,9 @@ Documentation = "https://openmodelica.org/doc/OpenModelicaUsersGuide/latest/ompy
Issues = "https://github.com/OpenModelica/OMPython/issues"
"Release Notes" = "https://github.com/OpenModelica/OMPython/releases"
Download = "https://pypi.org/project/OMPython/#files"

[tool.flake8]
extend-ignore = [
'E501', # line too long
'E741', # ambiguous variable name 'l'
]
2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.