-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathpyproject.toml
More file actions
129 lines (114 loc) · 3.71 KB
/
pyproject.toml
File metadata and controls
129 lines (114 loc) · 3.71 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[project]
name = "codemagic-cli-tools"
version = "0.64.0"
description = "CLI tools used in Codemagic builds"
authors = [{ name = "Priit Lätt", email = "priit@nevercode.io" }]
requires-python = ">=3.8,<4"
readme = "README.md"
license = "GPL-3.0-or-later"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"cryptography>= 38.0.0",
"google-api-python-client>= 2.84.0",
"httplib2>= 0.19.0",
"oauth2client>= 4.1.3",
"packaging>=22.0",
"psutil>= 5.8.0",
"pyjwt>=2.4.0,<3",
"requests>= 2.25",
"python-dateutil>= 2.9.0",
]
[project.urls]
Homepage = "https://github.com/codemagic-ci-cd/cli-tools"
Repository = "https://github.com/codemagic-ci-cd/cli-tools"
Documentation = "https://github.com/codemagic-ci-cd/cli-tools/tree/master/docs#cli-tools"
"Issue Tracker" = "https://github.com/codemagic-ci-cd/cli-tools/issues"
Changelog = "https://github.com/codemagic-ci-cd/cli-tools/blob/master/CHANGELOG.md"
[project.scripts]
android-app-bundle = "codemagic.tools:AndroidAppBundle.invoke_cli"
android-keystore = "codemagic.tools:AndroidKeystore.invoke_cli"
app-store-connect = "codemagic.tools:AppStoreConnect.invoke_cli"
codemagic-cli-tools = "codemagic.tools:CodemagicCliTools.invoke_cli"
firebase-app-distribution = "codemagic.tools:FirebaseAppDistribution.invoke_cli"
git-changelog = "codemagic.tools:GitChangelog.invoke_cli"
google-play = "codemagic.tools:GooglePlay.invoke_cli"
keychain = "codemagic.tools:Keychain.invoke_cli"
universal-apk = "codemagic.tools:UniversalApkGenerator.invoke_cli"
xcode-project = "codemagic.tools:XcodeProject.invoke_cli"
[dependency-groups]
dev = [
"google-api-python-client-stubs",
"ipdb",
"mdutils",
"mypy",
"pytest",
"pytest-cov",
"ruff",
"types-requests",
"types-psutil",
"types-python-dateutil",
"androguard>=4.0.0",
]
[tool.hatch.build.targets.sdist]
include = ["src/codemagic"]
[tool.hatch.build.targets.sdist.force-include]
tests = "tests"
[tool.hatch.build.targets.wheel]
include = ["src/codemagic"]
[tool.hatch.build.targets.wheel.sources]
"src/codemagic" = "codemagic"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 120
target-version = "py38"
exclude = [".venv", "stubs"]
[tool.ruff.lint]
select = [
"F", # https://beta.ruff.rs/docs/rules/#pyflakes-f
"E", # https://beta.ruff.rs/docs/rules/#error-e
"W", # https://beta.ruff.rs/docs/rules/#warning-w
"I", # https://beta.ruff.rs/docs/rules/#isort-i
"N", # https://beta.ruff.rs/docs/rules/#pep8-naming-n
"COM", # https://beta.ruff.rs/docs/rules/#flake8-commas-com
"ISC", # https://beta.ruff.rs/docs/rules/#flake8-implicit-str-concat-isc
"ASYNC", # https://beta.ruff.rs/docs/rules/#flake8-async-async
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"doc.py" = ["E402"]
"src/codemagic/apple/resources/*.py" = ["N815"]
"src/codemagic/google/resources/*.py" = ["N815"]
"src/codemagic/google_play/resources/*.py" = ["N815"]
"src/codemagic/models/export_options.py" = ["N815"]
[tool.ruff.lint.isort]
force-single-line = true
[tool.mypy]
mypy_path = "stubs"
pretty = true
error_summary = true
show_error_context = true
exclude = [
"tests/",
"doc.py",
]
[[tool.mypy.overrides]]
module = [
"mdutils.mdutils",
"mdutils.tools.Table",
"androguard.core.apk",
"androguard.util",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
pythonpath = ["src"]