Skip to content

Commit

Permalink
build: move tool configs to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
kiike committed Mar 18, 2024
1 parent 56c7f6d commit d386bb1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 25 deletions.
23 changes: 22 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,25 @@ Repository = "https://github.com/papis/papis-zotero"
]

[project.entry-points."papis.command"]
"zotero" = "papis_zotero:main"
"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
24 changes: 0 additions & 24 deletions setup.cfg

This file was deleted.

0 comments on commit d386bb1

Please sign in to comment.