generated from astronomer/airflow-provider-sample
-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
65 lines (56 loc) · 1.75 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "astro-provider-venv"
authors = [
{name = "Ash Berlin-Taylor", email = "[email protected]"},
{name = "Ian Buss", email = "[email protected]"},
{name = "Kaxil Niak", email = "[email protected]"},
]
license = {text = "Apache License 2.0"}
description = "Easily create and use Python Virtualenvs in Apache Airflow"
classifiers = [
"Framework :: Apache Airflow",
"Framework :: Apache Airflow :: Provider",
]
urls = {Source = "https://github.com/astronomer/astro-provider-venv"}
dynamic = ["version"]
requires-python = "~=3.7"
dependencies = ["apache-airflow>=2.4"]
[project.optional-dependencies]
tests = [
"pytest>=7.0",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.entry-points.apache_airflow_provider]
provider_info = "astronomer.providers.venv:get_provider_info"
[tool.setuptools]
include-package-data = false
[tool.setuptools.dynamic]
version = {attr = "astronomer.providers.venv.__version__"}
[tool.setuptools.packages.find]
where = ["provider"]
[tool.ruff]
fix = true
line-length = 110
target-version = "py37"
extend-select = [
"PGH", #pygrep-hooks
"UP", # Pyupgrade
"RUF100", # Unused noqa (auto-fixable)
"I",
]
[tool.pytest.ini_options]
addopts = "--tb=short -v"
filterwarnings = [
"ignore::DeprecationWarning:apispec.utils",
"ignore::DeprecationWarning:connexion.decorators.validation",
"ignore::DeprecationWarning:marshmallow_sqlalchemy.convert",
"ignore::DeprecationWarning:flask_sqlalchemy",
"ignore::DeprecationWarning:flask_appbuilder.filemanager",
"ignore::DeprecationWarning:flask_appbuilder.widgets",
"ignore::DeprecationWarning:pkg_resources",
]