apache-airflow-providers-zendesk 4.3.1__tar.gz → 4.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- apache-airflow-providers-zendesk-4.3.2/PKG-INFO +109 -0
- apache-airflow-providers-zendesk-4.3.2/README.rst +75 -0
- {apache-airflow-providers-zendesk-4.3.1 → apache-airflow-providers-zendesk-4.3.2}/airflow/providers/zendesk/__init__.py +4 -2
- {apache-airflow-providers-zendesk-4.3.1 → apache-airflow-providers-zendesk-4.3.2}/airflow/providers/zendesk/get_provider_info.py +1 -0
- {apache-airflow-providers-zendesk-4.3.1 → apache-airflow-providers-zendesk-4.3.2}/airflow/providers/zendesk/hooks/zendesk.py +7 -3
- apache-airflow-providers-zendesk-4.3.2/apache_airflow_providers_zendesk.egg-info/PKG-INFO +109 -0
- {apache-airflow-providers-zendesk-4.3.1 → apache-airflow-providers-zendesk-4.3.2}/pyproject.toml +46 -39
- {apache-airflow-providers-zendesk-4.3.1 → apache-airflow-providers-zendesk-4.3.2}/setup.cfg +2 -1
- {apache-airflow-providers-zendesk-4.3.1 → apache-airflow-providers-zendesk-4.3.2}/setup.py +1 -1
- apache-airflow-providers-zendesk-4.3.1/PKG-INFO +0 -295
- apache-airflow-providers-zendesk-4.3.1/README.rst +0 -262
- apache-airflow-providers-zendesk-4.3.1/apache_airflow_providers_zendesk.egg-info/PKG-INFO +0 -295
- {apache-airflow-providers-zendesk-4.3.1 → apache-airflow-providers-zendesk-4.3.2}/LICENSE +0 -0
- {apache-airflow-providers-zendesk-4.3.1 → apache-airflow-providers-zendesk-4.3.2}/MANIFEST.in +0 -0
- {apache-airflow-providers-zendesk-4.3.1 → apache-airflow-providers-zendesk-4.3.2}/NOTICE +0 -0
- {apache-airflow-providers-zendesk-4.3.1 → apache-airflow-providers-zendesk-4.3.2}/airflow/providers/zendesk/hooks/__init__.py +0 -0
- {apache-airflow-providers-zendesk-4.3.1 → apache-airflow-providers-zendesk-4.3.2}/apache_airflow_providers_zendesk.egg-info/SOURCES.txt +0 -0
- {apache-airflow-providers-zendesk-4.3.1 → apache-airflow-providers-zendesk-4.3.2}/apache_airflow_providers_zendesk.egg-info/dependency_links.txt +0 -0
- {apache-airflow-providers-zendesk-4.3.1 → apache-airflow-providers-zendesk-4.3.2}/apache_airflow_providers_zendesk.egg-info/entry_points.txt +0 -0
- {apache-airflow-providers-zendesk-4.3.1 → apache-airflow-providers-zendesk-4.3.2}/apache_airflow_providers_zendesk.egg-info/not-zip-safe +0 -0
- {apache-airflow-providers-zendesk-4.3.1 → apache-airflow-providers-zendesk-4.3.2}/apache_airflow_providers_zendesk.egg-info/requires.txt +0 -0
- {apache-airflow-providers-zendesk-4.3.1 → apache-airflow-providers-zendesk-4.3.2}/apache_airflow_providers_zendesk.egg-info/top_level.txt +0 -0
@@ -0,0 +1,109 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: apache-airflow-providers-zendesk
|
3
|
+
Version: 4.3.2
|
4
|
+
Summary: Provider for Apache Airflow. Implements apache-airflow-providers-zendesk package
|
5
|
+
Home-page: https://airflow.apache.org/
|
6
|
+
Download-URL: https://archive.apache.org/dist/airflow/providers
|
7
|
+
Author: Apache Software Foundation
|
8
|
+
Author-email: dev@airflow.apache.org
|
9
|
+
License: Apache License 2.0
|
10
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.2/
|
11
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.2/changelog.html
|
12
|
+
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
13
|
+
Project-URL: Source Code, https://github.com/apache/airflow
|
14
|
+
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
15
|
+
Project-URL: Twitter, https://twitter.com/ApacheAirflow
|
16
|
+
Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
|
17
|
+
Classifier: Development Status :: 5 - Production/Stable
|
18
|
+
Classifier: Environment :: Console
|
19
|
+
Classifier: Environment :: Web Environment
|
20
|
+
Classifier: Intended Audience :: Developers
|
21
|
+
Classifier: Intended Audience :: System Administrators
|
22
|
+
Classifier: Framework :: Apache Airflow
|
23
|
+
Classifier: Framework :: Apache Airflow :: Provider
|
24
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
25
|
+
Classifier: Programming Language :: Python :: 3.8
|
26
|
+
Classifier: Programming Language :: Python :: 3.9
|
27
|
+
Classifier: Programming Language :: Python :: 3.10
|
28
|
+
Classifier: Programming Language :: Python :: 3.11
|
29
|
+
Classifier: Topic :: System :: Monitoring
|
30
|
+
Requires-Python: ~=3.8
|
31
|
+
Description-Content-Type: text/x-rst
|
32
|
+
License-File: LICENSE
|
33
|
+
License-File: NOTICE
|
34
|
+
|
35
|
+
|
36
|
+
.. Licensed to the Apache Software Foundation (ASF) under one
|
37
|
+
or more contributor license agreements. See the NOTICE file
|
38
|
+
distributed with this work for additional information
|
39
|
+
regarding copyright ownership. The ASF licenses this file
|
40
|
+
to you under the Apache License, Version 2.0 (the
|
41
|
+
"License"); you may not use this file except in compliance
|
42
|
+
with the License. You may obtain a copy of the License at
|
43
|
+
|
44
|
+
.. http://www.apache.org/licenses/LICENSE-2.0
|
45
|
+
|
46
|
+
.. Unless required by applicable law or agreed to in writing,
|
47
|
+
software distributed under the License is distributed on an
|
48
|
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
49
|
+
KIND, either express or implied. See the License for the
|
50
|
+
specific language governing permissions and limitations
|
51
|
+
under the License.
|
52
|
+
|
53
|
+
.. Licensed to the Apache Software Foundation (ASF) under one
|
54
|
+
or more contributor license agreements. See the NOTICE file
|
55
|
+
distributed with this work for additional information
|
56
|
+
regarding copyright ownership. The ASF licenses this file
|
57
|
+
to you under the Apache License, Version 2.0 (the
|
58
|
+
"License"); you may not use this file except in compliance
|
59
|
+
with the License. You may obtain a copy of the License at
|
60
|
+
|
61
|
+
.. http://www.apache.org/licenses/LICENSE-2.0
|
62
|
+
|
63
|
+
.. Unless required by applicable law or agreed to in writing,
|
64
|
+
software distributed under the License is distributed on an
|
65
|
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
66
|
+
KIND, either express or implied. See the License for the
|
67
|
+
specific language governing permissions and limitations
|
68
|
+
under the License.
|
69
|
+
|
70
|
+
|
71
|
+
Package ``apache-airflow-providers-zendesk``
|
72
|
+
|
73
|
+
Release: ``4.3.2``
|
74
|
+
|
75
|
+
|
76
|
+
`Zendesk <https://www.zendesk.com/>`__
|
77
|
+
|
78
|
+
|
79
|
+
Provider package
|
80
|
+
----------------
|
81
|
+
|
82
|
+
This is a provider package for ``zendesk`` provider. All classes for this provider package
|
83
|
+
are in ``airflow.providers.zendesk`` python package.
|
84
|
+
|
85
|
+
You can find package information and changelog for the provider
|
86
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.2/>`_.
|
87
|
+
|
88
|
+
|
89
|
+
Installation
|
90
|
+
------------
|
91
|
+
|
92
|
+
You can install this package on top of an existing Airflow 2 installation (see ``Requirements`` below
|
93
|
+
for the minimum Airflow version supported) via
|
94
|
+
``pip install apache-airflow-providers-zendesk``
|
95
|
+
|
96
|
+
The package supports the following python versions: 3.8,3.9,3.10,3.11
|
97
|
+
|
98
|
+
Requirements
|
99
|
+
------------
|
100
|
+
|
101
|
+
================== ==================
|
102
|
+
PIP package Version required
|
103
|
+
================== ==================
|
104
|
+
``apache-airflow`` ``>=2.4.0``
|
105
|
+
``zenpy`` ``>=2.0.24``
|
106
|
+
================== ==================
|
107
|
+
|
108
|
+
The changelog for the provider package can be found in the
|
109
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.2/changelog.html>`_.
|
@@ -0,0 +1,75 @@
|
|
1
|
+
|
2
|
+
.. Licensed to the Apache Software Foundation (ASF) under one
|
3
|
+
or more contributor license agreements. See the NOTICE file
|
4
|
+
distributed with this work for additional information
|
5
|
+
regarding copyright ownership. The ASF licenses this file
|
6
|
+
to you under the Apache License, Version 2.0 (the
|
7
|
+
"License"); you may not use this file except in compliance
|
8
|
+
with the License. You may obtain a copy of the License at
|
9
|
+
|
10
|
+
.. http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
|
12
|
+
.. Unless required by applicable law or agreed to in writing,
|
13
|
+
software distributed under the License is distributed on an
|
14
|
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
15
|
+
KIND, either express or implied. See the License for the
|
16
|
+
specific language governing permissions and limitations
|
17
|
+
under the License.
|
18
|
+
|
19
|
+
.. Licensed to the Apache Software Foundation (ASF) under one
|
20
|
+
or more contributor license agreements. See the NOTICE file
|
21
|
+
distributed with this work for additional information
|
22
|
+
regarding copyright ownership. The ASF licenses this file
|
23
|
+
to you under the Apache License, Version 2.0 (the
|
24
|
+
"License"); you may not use this file except in compliance
|
25
|
+
with the License. You may obtain a copy of the License at
|
26
|
+
|
27
|
+
.. http://www.apache.org/licenses/LICENSE-2.0
|
28
|
+
|
29
|
+
.. Unless required by applicable law or agreed to in writing,
|
30
|
+
software distributed under the License is distributed on an
|
31
|
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
32
|
+
KIND, either express or implied. See the License for the
|
33
|
+
specific language governing permissions and limitations
|
34
|
+
under the License.
|
35
|
+
|
36
|
+
|
37
|
+
Package ``apache-airflow-providers-zendesk``
|
38
|
+
|
39
|
+
Release: ``4.3.2``
|
40
|
+
|
41
|
+
|
42
|
+
`Zendesk <https://www.zendesk.com/>`__
|
43
|
+
|
44
|
+
|
45
|
+
Provider package
|
46
|
+
----------------
|
47
|
+
|
48
|
+
This is a provider package for ``zendesk`` provider. All classes for this provider package
|
49
|
+
are in ``airflow.providers.zendesk`` python package.
|
50
|
+
|
51
|
+
You can find package information and changelog for the provider
|
52
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.2/>`_.
|
53
|
+
|
54
|
+
|
55
|
+
Installation
|
56
|
+
------------
|
57
|
+
|
58
|
+
You can install this package on top of an existing Airflow 2 installation (see ``Requirements`` below
|
59
|
+
for the minimum Airflow version supported) via
|
60
|
+
``pip install apache-airflow-providers-zendesk``
|
61
|
+
|
62
|
+
The package supports the following python versions: 3.8,3.9,3.10,3.11
|
63
|
+
|
64
|
+
Requirements
|
65
|
+
------------
|
66
|
+
|
67
|
+
================== ==================
|
68
|
+
PIP package Version required
|
69
|
+
================== ==================
|
70
|
+
``apache-airflow`` ``>=2.4.0``
|
71
|
+
``zenpy`` ``>=2.0.24``
|
72
|
+
================== ==================
|
73
|
+
|
74
|
+
The changelog for the provider package can be found in the
|
75
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.2/changelog.html>`_.
|
@@ -28,14 +28,16 @@ import packaging.version
|
|
28
28
|
|
29
29
|
__all__ = ["__version__"]
|
30
30
|
|
31
|
-
__version__ = "4.3.
|
31
|
+
__version__ = "4.3.2"
|
32
32
|
|
33
33
|
try:
|
34
34
|
from airflow import __version__ as airflow_version
|
35
35
|
except ImportError:
|
36
36
|
from airflow.version import version as airflow_version
|
37
37
|
|
38
|
-
if packaging.version.parse(airflow_version) < packaging.version.parse(
|
38
|
+
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
39
|
+
"2.4.0"
|
40
|
+
):
|
39
41
|
raise RuntimeError(
|
40
42
|
f"The package `apache-airflow-providers-zendesk:{__version__}` requires Apache Airflow 2.4.0+" # NOQA: E501
|
41
43
|
)
|
@@ -17,13 +17,17 @@
|
|
17
17
|
# under the License.
|
18
18
|
from __future__ import annotations
|
19
19
|
|
20
|
+
from typing import TYPE_CHECKING
|
21
|
+
|
20
22
|
from zenpy import Zenpy
|
21
|
-
from zenpy.lib.api import BaseApi
|
22
|
-
from zenpy.lib.api_objects import JobStatus, Ticket, TicketAudit
|
23
|
-
from zenpy.lib.generator import SearchResultGenerator
|
24
23
|
|
25
24
|
from airflow.hooks.base import BaseHook
|
26
25
|
|
26
|
+
if TYPE_CHECKING:
|
27
|
+
from zenpy.lib.api import BaseApi
|
28
|
+
from zenpy.lib.api_objects import JobStatus, Ticket, TicketAudit
|
29
|
+
from zenpy.lib.generator import SearchResultGenerator
|
30
|
+
|
27
31
|
|
28
32
|
class ZendeskHook(BaseHook):
|
29
33
|
"""
|
@@ -0,0 +1,109 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: apache-airflow-providers-zendesk
|
3
|
+
Version: 4.3.2
|
4
|
+
Summary: Provider for Apache Airflow. Implements apache-airflow-providers-zendesk package
|
5
|
+
Home-page: https://airflow.apache.org/
|
6
|
+
Download-URL: https://archive.apache.org/dist/airflow/providers
|
7
|
+
Author: Apache Software Foundation
|
8
|
+
Author-email: dev@airflow.apache.org
|
9
|
+
License: Apache License 2.0
|
10
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.2/
|
11
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.2/changelog.html
|
12
|
+
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
13
|
+
Project-URL: Source Code, https://github.com/apache/airflow
|
14
|
+
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
15
|
+
Project-URL: Twitter, https://twitter.com/ApacheAirflow
|
16
|
+
Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
|
17
|
+
Classifier: Development Status :: 5 - Production/Stable
|
18
|
+
Classifier: Environment :: Console
|
19
|
+
Classifier: Environment :: Web Environment
|
20
|
+
Classifier: Intended Audience :: Developers
|
21
|
+
Classifier: Intended Audience :: System Administrators
|
22
|
+
Classifier: Framework :: Apache Airflow
|
23
|
+
Classifier: Framework :: Apache Airflow :: Provider
|
24
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
25
|
+
Classifier: Programming Language :: Python :: 3.8
|
26
|
+
Classifier: Programming Language :: Python :: 3.9
|
27
|
+
Classifier: Programming Language :: Python :: 3.10
|
28
|
+
Classifier: Programming Language :: Python :: 3.11
|
29
|
+
Classifier: Topic :: System :: Monitoring
|
30
|
+
Requires-Python: ~=3.8
|
31
|
+
Description-Content-Type: text/x-rst
|
32
|
+
License-File: LICENSE
|
33
|
+
License-File: NOTICE
|
34
|
+
|
35
|
+
|
36
|
+
.. Licensed to the Apache Software Foundation (ASF) under one
|
37
|
+
or more contributor license agreements. See the NOTICE file
|
38
|
+
distributed with this work for additional information
|
39
|
+
regarding copyright ownership. The ASF licenses this file
|
40
|
+
to you under the Apache License, Version 2.0 (the
|
41
|
+
"License"); you may not use this file except in compliance
|
42
|
+
with the License. You may obtain a copy of the License at
|
43
|
+
|
44
|
+
.. http://www.apache.org/licenses/LICENSE-2.0
|
45
|
+
|
46
|
+
.. Unless required by applicable law or agreed to in writing,
|
47
|
+
software distributed under the License is distributed on an
|
48
|
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
49
|
+
KIND, either express or implied. See the License for the
|
50
|
+
specific language governing permissions and limitations
|
51
|
+
under the License.
|
52
|
+
|
53
|
+
.. Licensed to the Apache Software Foundation (ASF) under one
|
54
|
+
or more contributor license agreements. See the NOTICE file
|
55
|
+
distributed with this work for additional information
|
56
|
+
regarding copyright ownership. The ASF licenses this file
|
57
|
+
to you under the Apache License, Version 2.0 (the
|
58
|
+
"License"); you may not use this file except in compliance
|
59
|
+
with the License. You may obtain a copy of the License at
|
60
|
+
|
61
|
+
.. http://www.apache.org/licenses/LICENSE-2.0
|
62
|
+
|
63
|
+
.. Unless required by applicable law or agreed to in writing,
|
64
|
+
software distributed under the License is distributed on an
|
65
|
+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
66
|
+
KIND, either express or implied. See the License for the
|
67
|
+
specific language governing permissions and limitations
|
68
|
+
under the License.
|
69
|
+
|
70
|
+
|
71
|
+
Package ``apache-airflow-providers-zendesk``
|
72
|
+
|
73
|
+
Release: ``4.3.2``
|
74
|
+
|
75
|
+
|
76
|
+
`Zendesk <https://www.zendesk.com/>`__
|
77
|
+
|
78
|
+
|
79
|
+
Provider package
|
80
|
+
----------------
|
81
|
+
|
82
|
+
This is a provider package for ``zendesk`` provider. All classes for this provider package
|
83
|
+
are in ``airflow.providers.zendesk`` python package.
|
84
|
+
|
85
|
+
You can find package information and changelog for the provider
|
86
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.2/>`_.
|
87
|
+
|
88
|
+
|
89
|
+
Installation
|
90
|
+
------------
|
91
|
+
|
92
|
+
You can install this package on top of an existing Airflow 2 installation (see ``Requirements`` below
|
93
|
+
for the minimum Airflow version supported) via
|
94
|
+
``pip install apache-airflow-providers-zendesk``
|
95
|
+
|
96
|
+
The package supports the following python versions: 3.8,3.9,3.10,3.11
|
97
|
+
|
98
|
+
Requirements
|
99
|
+
------------
|
100
|
+
|
101
|
+
================== ==================
|
102
|
+
PIP package Version required
|
103
|
+
================== ==================
|
104
|
+
``apache-airflow`` ``>=2.4.0``
|
105
|
+
``zenpy`` ``>=2.0.24``
|
106
|
+
================== ==================
|
107
|
+
|
108
|
+
The changelog for the provider package can be found in the
|
109
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.2/changelog.html>`_.
|
{apache-airflow-providers-zendesk-4.3.1 → apache-airflow-providers-zendesk-4.3.2}/pyproject.toml
RENAMED
@@ -16,20 +16,20 @@
|
|
16
16
|
# under the License.
|
17
17
|
[tool.black]
|
18
18
|
line-length = 110
|
19
|
-
target-version = ['
|
20
|
-
|
21
|
-
#
|
22
|
-
#
|
23
|
-
#
|
24
|
-
#
|
19
|
+
target-version = ['py38', 'py39', 'py310', 'py311']
|
20
|
+
|
21
|
+
# Editable installs are currently broken using setuptools 64.0.0 and above. The problem is tracked in
|
22
|
+
# https://github.com/pypa/setuptools/issues/3548. We're also discussing how we could potentially fix
|
23
|
+
# this problem on our end in issue https://github.com/apache/airflow/issues/30764. Until then we need
|
24
|
+
# to use one of the following workarounds locally for editable installs:
|
25
|
+
# 1) Pin setuptools <= 63.4.3 below in the [build-system] section.
|
26
|
+
# 2) Include your airflow source code directory in PYTHONPATH.
|
25
27
|
[build-system]
|
26
28
|
requires = ['setuptools==67.2.0']
|
27
29
|
build-backend = "setuptools.build_meta"
|
28
30
|
|
29
|
-
[project]
|
30
|
-
requires-python = ">=3.8"
|
31
|
-
|
32
31
|
[tool.ruff]
|
32
|
+
target-version = "py38"
|
33
33
|
typing-modules = ["airflow.typing_compat"]
|
34
34
|
line-length = 110
|
35
35
|
extend-exclude = [
|
@@ -39,7 +39,8 @@ extend-exclude = [
|
|
39
39
|
# The files generated by stubgen aren't 100% valid syntax it turns out, and we don't ship them, so we can
|
40
40
|
# ignore them in ruff
|
41
41
|
"airflow/providers/common/sql/*/*.pyi",
|
42
|
-
"airflow/migrations/versions/*.py"
|
42
|
+
"airflow/migrations/versions/*.py",
|
43
|
+
"tests/dags/test_imports.py",
|
43
44
|
]
|
44
45
|
|
45
46
|
extend-select = [
|
@@ -59,11 +60,12 @@ extend-select = [
|
|
59
60
|
"D402",
|
60
61
|
"D403",
|
61
62
|
"D412",
|
62
|
-
"D419"
|
63
|
+
"D419",
|
64
|
+
"TCH001", # typing-only-first-party-import
|
65
|
+
"TCH002", # typing-only-third-party-import
|
63
66
|
]
|
64
67
|
extend-ignore = [
|
65
68
|
"D203",
|
66
|
-
"D205",
|
67
69
|
"D212",
|
68
70
|
"D213",
|
69
71
|
"D214",
|
@@ -71,6 +73,8 @@ extend-ignore = [
|
|
71
73
|
"E731",
|
72
74
|
]
|
73
75
|
|
76
|
+
namespace-packages = ["airflow/providers"]
|
77
|
+
|
74
78
|
[tool.pytest.ini_options]
|
75
79
|
# * Disable `flaky` plugin for pytest. This plugin conflicts with `rerunfailures` because provide same marker.
|
76
80
|
# * Disable `nose` builtin plugin for pytest. This feature deprecated in 7.2 and will be removed in pytest>=8
|
@@ -97,46 +101,21 @@ filterwarnings = [
|
|
97
101
|
"ignore::DeprecationWarning:apispec.utils",
|
98
102
|
]
|
99
103
|
python_files = [
|
100
|
-
"*.py",
|
104
|
+
"test_*.py",
|
105
|
+
"example_*.py",
|
101
106
|
]
|
102
107
|
testpaths = [
|
103
108
|
"tests",
|
104
109
|
]
|
105
110
|
|
106
111
|
[tool.ruff.isort]
|
107
|
-
known-first-party = ["airflow", "airflow_breeze", "docker_tests", "docs", "kubernetes_tests", "tests"]
|
108
112
|
required-imports = ["from __future__ import annotations"]
|
109
113
|
combine-as-imports = true
|
110
114
|
|
111
|
-
# TODO: for now, https://github.com/charliermarsh/ruff/issues/1817
|
112
|
-
known-third-party = [
|
113
|
-
"asana",
|
114
|
-
"atlassian",
|
115
|
-
"celery",
|
116
|
-
"cloudant",
|
117
|
-
"databricks",
|
118
|
-
"datadog",
|
119
|
-
"docker",
|
120
|
-
"elasticsearch",
|
121
|
-
"github",
|
122
|
-
"google",
|
123
|
-
"grpc",
|
124
|
-
"jenkins",
|
125
|
-
"mysql",
|
126
|
-
"neo4j",
|
127
|
-
"papermill",
|
128
|
-
"redis",
|
129
|
-
"sendgrid",
|
130
|
-
"snowflake",
|
131
|
-
"telegram",
|
132
|
-
"trino",
|
133
|
-
]
|
134
|
-
|
135
115
|
[tool.ruff.per-file-ignores]
|
136
116
|
"airflow/models/__init__.py" = ["F401"]
|
137
117
|
"airflow/models/sqla_models.py" = ["F401"]
|
138
118
|
|
139
|
-
|
140
119
|
# The test_python.py is needed because adding __future__.annotations breaks runtime checks that are
|
141
120
|
# needed for the test to work
|
142
121
|
"tests/decorators/test_python.py" = ["I002"]
|
@@ -164,3 +143,31 @@ known-third-party = [
|
|
164
143
|
"airflow/security/utils.py" = ["E402"]
|
165
144
|
"tests/providers/elasticsearch/log/elasticmock/__init__.py" = ["E402"]
|
166
145
|
"tests/providers/elasticsearch/log/elasticmock/utilities/__init__.py" = ["E402"]
|
146
|
+
|
147
|
+
[tool.coverage.run]
|
148
|
+
branch = true
|
149
|
+
relative_files = true
|
150
|
+
source = ["airflow"]
|
151
|
+
omit = [
|
152
|
+
"airflow/_vendor/**",
|
153
|
+
"airflow/contrib/**",
|
154
|
+
"airflow/example_dags/**",
|
155
|
+
"airflow/migrations/**",
|
156
|
+
"airflow/providers/**/example_dags/**",
|
157
|
+
"airflow/www/node_modules/**",
|
158
|
+
"airflow/providers/google/ads/_vendor/**",
|
159
|
+
]
|
160
|
+
|
161
|
+
[tool.coverage.report]
|
162
|
+
skip_empty = true
|
163
|
+
exclude_also = [
|
164
|
+
"def __repr__",
|
165
|
+
"raise AssertionError",
|
166
|
+
"raise NotImplementedError",
|
167
|
+
"if __name__ == .__main__.:",
|
168
|
+
"@(abc\\.)?abstractmethod",
|
169
|
+
"@(typing(_extensions)?\\.)?overload",
|
170
|
+
"if TYPE_CHECKING:"
|
171
|
+
]
|
172
|
+
[tool.ruff.flake8-type-checking]
|
173
|
+
exempt-modules = ["typing", "typing_extensions"]
|
@@ -27,7 +27,8 @@ classifiers =
|
|
27
27
|
Programming Language :: Python :: 3.11
|
28
28
|
Topic :: System :: Monitoring
|
29
29
|
project_urls =
|
30
|
-
Documentation=https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.
|
30
|
+
Documentation=https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.2/
|
31
|
+
Changelog=https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.2/changelog.html
|
31
32
|
Bug Tracker=https://github.com/apache/airflow/issues
|
32
33
|
Source Code=https://github.com/apache/airflow
|
33
34
|
Slack Chat=https://s.apache.org/airflow-slack
|