-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
182 lines (161 loc) · 4.66 KB
/
Copy pathpyproject.toml
File metadata and controls
182 lines (161 loc) · 4.66 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
[project]
name = "jira-toolkit"
version = "1.2.0"
description = "A utility for batch-importing tasks from Excel into Jira"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "Julien", email = "hello@tom4897.info"}
]
requires-python = ">=3.12,<3.14"
dependencies = [
"pandas>=2.0.0",
"openpyxl>=3.1.0",
"rich>=13.0.0",
"rich-argparse>=1.7.0",
"tqdm>=4.65.0",
"structlog>=23.0.0",
"colorlog>=6.7.0",
"PyYAML>=6.0",
"requests>=2.33.0",
"urllib3>=2.6.3",
"keyring>=25.7.0",
"colorama>=0.4.0; platform_system == 'Windows'",
]
[project.optional-dependencies]
dev = [
"pre-commit>=3.0.0",
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"isort>=5.12.0",
"mypy>=1.0.0",
"ruff>=0.6.0",
"pylint>=3.2.0",
]
[build-system]
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.group.pyinstaller]
optional = true
[tool.poetry.group.pyinstaller.dependencies]
pyinstaller = { version = "^6.15", python = ">=3.12,<3.15" }
poetry-pyinstaller-plugin = "^1.0.0"
pefile = { version = "*", markers = "sys_platform == 'win32'" }
[tool.poetry.scripts]
jira-importer = "jira_importer.__main__:main"
[tool.poetry-pyinstaller-plugin]
use-poetry-install = true
pre-build = "scripts.pyinstaller_hooks:pre_build"
post-build = "scripts.pyinstaller_hooks:post_build"
[tool.poetry]
name = "jira_importer"
version = "1.2.0"
description = "Jira Importer Application"
packages = [{ include = "jira_importer", from = "src" }]
[tool.poetry.dependencies]
python = ">=3.12,<3.14"
[tool.poetry-pyinstaller-plugin.scripts.jira-importer]
source = "src/jira_importer/__main__.py"
type = "onefile"
console = true
icon = "build/icons/deerhide_default.ico"
hiddenimport = [
"jira_importer.console",
"jira_importer.excel.excel_io",
"jira_importer.excel.excel_table_reader",
"jira_importer.app",
"jira_importer.config",
"jira_importer.config.excel_config",
"jira_importer.config.config_models",
"jira_importer.config.config_factory",
"jira_importer.config.config_display",
"jira_importer.config.config_view",
"jira_importer.config.constants",
"jira_importer.config.issuetypes",
"jira_importer.config.json_config",
"jira_importer.config.utils",
"jira_importer.artifacts",
"jira_importer.fileops",
"jira_importer.log",
"jira_importer.utils",
"jira_importer.import_pipeline.processor",
"jira_importer.import_pipeline.reporting",
"jira_importer.import_pipeline.validator",
"jira_importer.import_pipeline.models",
"jira_importer.import_pipeline.sinks.csv_sink",
"jira_importer.import_pipeline.sinks.cloud_sink",
"jira_importer.import_pipeline.sources.csv_source",
"jira_importer.import_pipeline.sources.xlsx_source",
"jira_importer.import_pipeline.cloud.client",
"jira_importer.import_pipeline.cloud.auth",
"jira_importer.import_pipeline.cloud.secrets",
"jira_importer.import_pipeline.cloud.credential_manager",
"jira_importer.import_pipeline.cloud.bulk",
"jira_importer.import_pipeline.cloud.mappers",
"jira_importer.import_pipeline.cloud.metadata",
# Requests and HTTP dependencies (fixes macOS build issues)
"requests",
"requests.adapters",
"requests.auth",
"requests.cookies",
"requests.exceptions",
"requests.models",
"requests.sessions",
"requests.structures",
"requests.utils",
"urllib3",
"urllib3.util",
"urllib3.util.retry",
"urllib3.poolmanager",
"certifi",
"charset_normalizer",
"idna",
"keyring",
"colorama"
]
[tool.poetry-pyinstaller-plugin.include]
"resources/**" = "resources"
[tool.poetry-pyinstaller-plugin.package]
"LICENSE" = "."
"README.md" = "."
# Removed duplicate - using poetry scripts instead
# Removed - using poetry packages configuration instead
[tool.black]
line-length = 120
target-version = ["py312"]
[tool.isort]
profile = "black"
line_length = 120
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["--cov=jira_importer", "--cov-report=term-missing"]
[tool.ruff]
# Same as Black.
line-length = 120
indent-width = 4
[tool.ruff.lint]
select = ["D","F","E","W","I","UP","PL","N","RUF"]
ignore = [
# Import position and long lines; will be fixed later
"E402", "E501",
# Complexity/size rules to address in refactors
"PLR0912", "PLR0915", "PLR0913", "PLR0911",
# Comparison merging suggestion
"PLR1714",
# Import-outside-top-level noise
"PLC0415",
# Naming conventions that require broader refactors
"N802", "N806",
# Globals and similar
"PLW0603",
# Allow TODO/FIXME notes without failing (Ruff's FIX002)
"FIX002",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
docstring-code-line-length = 150
[tool.ruff.lint.pydocstyle]
convention = "google"