[Feature] Migrate to pyproject.toml
#737
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
resolves #
docs dbt-labs/docs.getdbt.com/#
Problem
dbt-snowflake
currently usessetup.py
and a collection of independent configs to build and test. This has been replaced bypyproject.toml
as the go-forward config file for python projects. Additionally, there are configs that live in multiple files and differ from each other, leading to inconsistent usage of dev and test tools.Solution
Config will be migrated as much as possible into
pyproject.toml
. There are still some projects that haven't migrated to PEP-518, namelypre-commit
,flake8
, andtox
. These will need to live in legacy formats for now.tox
andflake8
can only readini
, so they will live insetup.cfg
.pre-commit
can only read yaml, so it will remain in place, in.pre-commit-config.yaml
.Checklist