diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 47ef60e..f39fb51 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,8 +29,6 @@ repos: hooks: - id: black language_version: python3.7 - args: - - --line-length=100 - repo: local hooks: diff --git a/conftest.py b/conftest.py index d42724b..30d08fb 100644 --- a/conftest.py +++ b/conftest.py @@ -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 ) diff --git a/pyproject.toml b/pyproject.toml index 864b334..e530d8f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,6 @@ [build-system] requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta:__legacy__" + +[tool.black] +line-length = 100