Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove setup.cfg and use pyproject.toml instead #6086

Merged
merged 1 commit into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ jobs:
mkdir tmp_tests
mv tests tmp_tests/tests
mv test-data tmp_tests/test-data
mv setup.cfg tmp_tests/setup.cfg
mkdir tmp_tests/.git

- name: Test docs
Expand Down
15 changes: 15 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,18 @@ include = '(\.pyi?|\.ipynb|\.py\.j2)$'

[tool.setuptools_scm]
write_to = "src/ert/shared/version.py"

[tool.flake8]
per-file-ignores = [
# Ignore all protobuf v2 files
"*_pb2.py: E"
]
ignore = [
# whitespace before ':', solved by black:
"E203",
# line break before binary operator, solved by black:
"W503",
# The minimal set of ignores that makes flake8 pass when flake8-bugbear is installed:
"B019"
]
max-line-length = 88
16 changes: 0 additions & 16 deletions setup.cfg

This file was deleted.

1 change: 1 addition & 0 deletions style-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cmake-format
Flake8-pyproject
flake8
flake8-bugbear
flake8-simplify
Expand Down
Loading