-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 更新 dev-requirements.txt 文件,增加和修改了一些依赖项 -升级 actions/checkout 到 v4 和 actions/setup-python 到 v5 - 更新 Python 版本到 3.9 -优化了依赖安装过程,使用 python -m pip 命令- 添加了检查是否为 alpha版本的步骤 - 更新了测试矩阵,增加了对 Python 3.12 的支持 - 修改了安装和检查分发包的步骤,支持 whl 和 gz两种格式 - 更新了项目状态从 Production/Stable 到 Alpha- 移除了对 Python 3.8 的支持
- Loading branch information
1 parent
fd3fd0a
commit 5ca7a3e
Showing
25 changed files
with
153 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,4 +130,4 @@ dmypy.json | |
.pyre/ | ||
|
||
# Idea | ||
.idea | ||
.idea |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,58 @@ | ||
# For more on configuring pre-commit hooks (see https://pre-commit.com/) | ||
default_language_version: | ||
python: python3 | ||
|
||
# TODO: remove global exclusion of tests when testing overhaul is complete | ||
exclude: "^tests/.*" | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: check-yaml | ||
args: [--unsafe] | ||
- id: check-json | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- id: check-case-conflict | ||
|
||
- repo: https://github.com/dbt-labs/pre-commit-hooks | ||
rev: v0.1.0a1 | ||
hooks: | ||
- id: dbt-core-in-adapters-check | ||
|
||
default_language_version: | ||
python: python3.8 | ||
- repo: https://github.com/psf/black | ||
rev: 24.4.2 | ||
hooks: | ||
- id: black | ||
args: | ||
- --line-length=99 | ||
- --target-version=py39 | ||
- --target-version=py310 | ||
- --target-version=py311 | ||
- --target-version=py312 | ||
additional_dependencies: [flaky] | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.2.0 | ||
hooks: | ||
- id: check-yaml | ||
args: [--unsafe] | ||
- id: check-json | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- id: check-case-conflict | ||
- repo: https://github.com/psf/black | ||
rev: 22.3.0 | ||
hooks: | ||
- id: black | ||
args: | ||
- "--line-length=99" | ||
- "--target-version=py38" | ||
- id: black | ||
alias: black-check | ||
stages: [manual] | ||
args: | ||
- "--line-length=99" | ||
- "--target-version=py38" | ||
- "--check" | ||
- "--diff" | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: 4.0.1 | ||
hooks: | ||
- id: flake8 | ||
- id: flake8 | ||
alias: flake8-check | ||
stages: [manual] | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.782 | ||
hooks: | ||
- id: mypy | ||
args: [--show-error-codes, --ignore-missing-imports] | ||
files: ^dbt/adapters/.* | ||
language: system | ||
- id: mypy | ||
alias: mypy-check | ||
stages: [manual] | ||
args: [--show-error-codes, --pretty, --ignore-missing-imports] | ||
files: ^dbt/adapters | ||
language: system | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: 7.0.0 | ||
hooks: | ||
- id: flake8 | ||
exclude: tests/ | ||
args: | ||
- --max-line-length=99 | ||
- --select=E,F,W | ||
- --ignore=E203,E501,E741,W503,W504 | ||
- --per-file-ignores=*/__init__.py:F401 | ||
|
||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v1.10.0 | ||
hooks: | ||
- id: mypy | ||
args: | ||
- --explicit-package-bases | ||
- --ignore-missing-imports | ||
- --pretty | ||
- --show-error-codes | ||
- --warn-unused-ignores | ||
files: ^dbt/adapters/maxcompute | ||
additional_dependencies: | ||
- types-protobuf | ||
- types-pytz | ||
- types-requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.