Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move configurations to pyproject.toml #624

Merged
merged 2 commits into from
May 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .coveragerc

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
fi

export QUETZ_IS_TEST=1
pytest -v ./quetz/tests/ --cov-config=.coveragerc --cov=. --cov-report=xml
pytest -v ./quetz/tests/ --cov-config=pyproject.toml --cov=. --cov-report=xml

- name: Test the plugins
shell: bash -l -eo pipefail {0}
Expand Down
2 changes: 0 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ include alembic.ini
include dev_config.toml
include environment.yml
include init_db.py
include .coveragerc
include .flake8
include .pre-commit-config.yaml
include .readthedocs.yml
include mypy.ini
include download-test-package.sh

recursive-include quetz/migrations *.*
Expand Down
4 changes: 0 additions & 4 deletions mypy.ini

This file was deleted.

14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,17 @@ reportUnboundVariable = true
reportUndefinedVariable = false
venv = ".venv"
venvPath= "."

[tool.mypy]
ignore_missing_imports = true
plugins = [
"sqlmypy"
]
disable_error_code = [
"misc"
]

[tool.coverage.run]
omit = [
"quetz/tests/*",
]