@@ -42,8 +42,10 @@ optional-dependencies.docs = [
4242optional-dependencies.testing = [
4343 " covdefaults>=2.3" ,
4444 " coverage>=7.2.2" ,
45+ " diff-cover>=7.5" ,
4546 " pytest>=7.2.2" ,
4647 " pytest-cov>=4" ,
48+ " pytest-mock>=3.10" ,
4749 " pytest-timeout>=2.1" ,
4850]
4951urls.Documentation = " https://py-filelock.readthedocs.io"
@@ -56,6 +58,21 @@ build.hooks.vcs.version-file = "src/filelock/version.py"
5658build.targets.sdist.include = [" /src" , " /tests" ]
5759version.source = " vcs"
5860
61+ [tool .black ]
62+ line-length = 120
63+
64+ [tool .isort ]
65+ profile = " black"
66+ known_first_party = [" filelock" ]
67+ add_imports = [" from __future__ import annotations" ]
68+
69+ [tool .flake8 ]
70+ max-complexity = 22
71+ max-line-length = 120
72+ unused-arguments-ignore-abstract-functions = true
73+ noqa-require-code = true
74+ dictionaries = [" en_US" , " python" , " technical" , " django" ]
75+
5976[tool .coverage ]
6077html.show_contexts = true
6178html.skip_covered = false
@@ -65,14 +82,6 @@ report.fail_under = 76
6582run.parallel = true
6683run.plugins = [" covdefaults" ]
6784
68- [tool .black ]
69- line-length = 120
70-
71- [tool .isort ]
72- profile = " black"
73- known_first_party = [" filelock" ]
74- add_imports = [" from __future__ import annotations" ]
75-
7685[tool .mypy ]
7786python_version = " 3.11"
7887show_error_codes = true
@@ -81,10 +90,3 @@ overrides = [{ module = ["appdirs.*", "jnius.*"], ignore_missing_imports = true
8190
8291[tool .pep8 ]
8392max-line-length = " 120"
84-
85- [tool .flake8 ]
86- max-complexity = 22
87- max-line-length = 120
88- unused-arguments-ignore-abstract-functions = true
89- noqa-require-code = true
90- dictionaries = [" en_US" , " python" , " technical" , " django" ]
0 commit comments