Skip to content

Commit

Permalink
Replace style-reqs with pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeda committed Sep 21, 2023
1 parent 28b2ff2 commit 2815c66
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@ jobs:
cache-dependency-path: |
setup.py
pyproject.toml
style-requirements.txt
- name: Install dependencies
- name: Install ERT with style dependencies
run: |
pip install -r style-requirements.txt
pip install ".[style]"
- name: Clang Format
run: ./script/clang-format --check
Expand All @@ -61,5 +60,4 @@ jobs:

- name: Run pylint
run: |
pip install . # We need the dependencies of ERT to avoid import-error
script/pylint
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,16 @@ dev = [
"sphinxcontrib.datatemplates",
"testpath",
]
style = [
"cmake-format",
"Flake8-pyproject",
"flake8",
"flake8-bugbear",
"flake8-simplify",
"isort",
"pylint",
"pylint-protobuf"
]

[tool.setuptools]
platforms = ["all"]
Expand Down
8 changes: 0 additions & 8 deletions style-requirements.txt

This file was deleted.

0 comments on commit 2815c66

Please sign in to comment.