Skip to content

Commit

Permalink
Move black config to pyproject.toml and fix conftest
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviergmail committed Jul 21, 2022
1 parent 2712d82 commit 9a760f1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ repos:
hooks:
- id: black
language_version: python3.7
args:
- --line-length=100

- repo: local
hooks:
Expand Down
4 changes: 2 additions & 2 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def integration_test_id_table_cleaner():
_ = [i for i in table_cleaner]


integration_test_id_table = pytest.fixture("module")(get_integration_test_id_table)
integration_test_no_range_index_hash_key = pytest.fixture("module")(
integration_test_id_table = pytest.fixture(scope="module")(get_integration_test_id_table)
integration_test_no_range_index_hash_key = pytest.fixture(scope="module")(
get_integration_test_no_range_key_index_hash_key
)
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta:__legacy__"

[tool.black]
line-length = 100

0 comments on commit 9a760f1

Please sign in to comment.