integrify-core 1.0.0__tar.gz → 1.0.3__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.
- {integrify_core-1.0.0 → integrify_core-1.0.3}/PKG-INFO +2 -2
- {integrify_core-1.0.0 → integrify_core-1.0.3}/pyproject.toml +11 -13
- integrify_core-1.0.3/src/integrify/test.py +24 -0
- integrify_core-1.0.0/src/integrify/__init__.py +0 -0
- {integrify_core-1.0.0 → integrify_core-1.0.3}/.gitignore +0 -0
- {integrify_core-1.0.0 → integrify_core-1.0.3}/LICENSE +0 -0
- {integrify_core-1.0.0 → integrify_core-1.0.3}/README.md +0 -0
- {integrify_core-1.0.0 → integrify_core-1.0.3}/src/integrify/api.py +0 -0
- {integrify_core-1.0.0 → integrify_core-1.0.3}/src/integrify/logger.py +0 -0
- {integrify_core-1.0.0 → integrify_core-1.0.3}/src/integrify/schemas.py +0 -0
- {integrify_core-1.0.0 → integrify_core-1.0.3}/src/integrify/utils.py +0 -0
@@ -1,11 +1,11 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: integrify-core
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.3
|
4
4
|
Summary: Integrify API inteqrasiyalarını rahatlaşdıran bünovrə (core) kitabxanadır.
|
5
5
|
Project-URL: Homepage, https://integrify.mmzeynalli.dev/
|
6
6
|
Project-URL: Repository, https://github.com/Integrify-SDK/integrify-core-python
|
7
7
|
Project-URL: Documentation, https://integrify.mmzeynalli.dev/
|
8
|
-
Author-email: mmzeynalli <miradil.zeynalli@gmail.com
|
8
|
+
Author-email: mmzeynalli <miradil.zeynalli@gmail.com>
|
9
9
|
License: GPL-3.0-or-later
|
10
10
|
Classifier: Environment :: Web Environment
|
11
11
|
Classifier: Framework :: AsyncIO
|
@@ -4,12 +4,9 @@ build-backend = "hatchling.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "integrify-core"
|
7
|
-
version = "1.0.
|
7
|
+
version = "1.0.3"
|
8
8
|
description = "Integrify API inteqrasiyalarını rahatlaşdıran bünovrə (core) kitabxanadır."
|
9
|
-
authors = [
|
10
|
-
{ name = "mmzeynalli", email = "miradil.zeynalli@gmail.com" },
|
11
|
-
{ name = "vahidzhe", email = "vahidzhe@gmail.com" },
|
12
|
-
]
|
9
|
+
authors = [{ name = "mmzeynalli", email = "miradil.zeynalli@gmail.com" }]
|
13
10
|
requires-python = "~=3.9"
|
14
11
|
readme = "README.md"
|
15
12
|
license = "GPL-3.0-or-later"
|
@@ -112,12 +109,12 @@ quote-style = "single"
|
|
112
109
|
docstring-quotes = "double"
|
113
110
|
|
114
111
|
[tool.pylint.MASTER]
|
115
|
-
ignore-paths = [
|
116
|
-
disable = [
|
112
|
+
ignore-paths = ["tests/", ".venv/", ".venvs/", "test.py"]
|
113
|
+
disable = ["C0114", "C0115", "C0301", "R0913", "R0914", "R0917", "R0801"]
|
117
114
|
|
118
115
|
[tool.mypy]
|
119
|
-
exclude = [
|
120
|
-
plugins = [
|
116
|
+
exclude = ["tests/*", "test.py"]
|
117
|
+
plugins = ["pydantic.mypy"]
|
121
118
|
|
122
119
|
[tool.pytest.ini_options]
|
123
120
|
pythonpath = ["src/"]
|
@@ -135,15 +132,16 @@ exclude_also = [
|
|
135
132
|
fail_under = 95
|
136
133
|
|
137
134
|
[tool.coverage.run]
|
138
|
-
source = [
|
135
|
+
source = ["src"]
|
136
|
+
omit = ["src/integrify/test.py"]
|
139
137
|
branch = true
|
140
138
|
relative_files = true
|
141
|
-
context =
|
139
|
+
context = "${CONTEXT}"
|
142
140
|
|
143
141
|
[tool.coverage.paths]
|
144
142
|
source = [
|
145
|
-
|
146
|
-
|
143
|
+
"src/",
|
144
|
+
"/Users/runner/work/interify/interify/src/",
|
147
145
|
'D:\a\integrify\integrify\src',
|
148
146
|
]
|
149
147
|
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import os
|
2
|
+
|
3
|
+
import pytest
|
4
|
+
|
5
|
+
|
6
|
+
def pytest_addoption(parser):
|
7
|
+
parser.addoption(
|
8
|
+
'--live',
|
9
|
+
action='store_true',
|
10
|
+
dest='liverun',
|
11
|
+
default=False,
|
12
|
+
help='enable live tests with tokens provided',
|
13
|
+
)
|
14
|
+
|
15
|
+
|
16
|
+
live = pytest.mark.skipif("not config.getoption('liverun')", allow_module_level=True)
|
17
|
+
"""Tests that need live environment to run"""
|
18
|
+
|
19
|
+
|
20
|
+
def requires_env(*env_keys):
|
21
|
+
return pytest.mark.skipif(
|
22
|
+
any(not os.getenv(ek, None) for ek in env_keys),
|
23
|
+
reason='Env variables are not set',
|
24
|
+
)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|