diff --git a/pyproject.toml b/pyproject.toml index 885e7e1..8cfb98e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,4 +52,25 @@ Repository = "https://github.com/papis/papis-zotero" ] [project.entry-points."papis.command"] -"zotero" = "papis_zotero:main" \ No newline at end of file +"zotero" = "papis_zotero:main" + +[tool.flake8] +select = "B, D, E, F, N, Q, W" +extend-ignore = "B019, E123, N818, W503" +max-line-length = 88 +inline-quotes = "double" +multiline-quotes = "double" + +[tool.pytest.ini_options] +norecursedirs = ".git doc build dist" +python_files = "*.py" +markers = ["config_setup: setup for tmp_config", + "library_setup: setup for tmp_library", +] + +[tool.mypy] +strict = true +show_column_numbers = true +hide_error_codes = false +pretty = true +warn_unused_ignores = false diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 7adeddc..0000000 --- a/setup.cfg +++ /dev/null @@ -1,24 +0,0 @@ -[flake8] -select = B, D, E, F, N, Q, W -extend-ignore = B019, E123, N818, W503 - -max-line-length = 88 -inline-quotes = double -multiline-quotes = double - -[tool:pytest] -norecursedirs = .git doc build dist -python_files = *.py -markers = - config_setup: setup for tmp_config - library_setup: setup for tmp_library - -[mypy] -strict = True -show_column_numbers = True -hide_error_codes = False -pretty = True -warn_unused_ignores = False - -[mypy-colorama.*] -ignore_missing_imports = True