itw-python-builder 0.1.1__tar.gz → 0.1.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.
- {itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/PKG-INFO +1 -1
- {itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/itw_python_builder/tasks.py +9 -11
- {itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/itw_python_builder.egg-info/PKG-INFO +1 -1
- {itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/pyproject.toml +1 -1
- {itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/LICENSE +0 -0
- {itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/README.md +0 -0
- {itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/itw_python_builder/.pylintrc +0 -0
- {itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/itw_python_builder/__init__.py +0 -0
- {itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/itw_python_builder/cli.py +0 -0
- {itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/itw_python_builder/version.py +0 -0
- {itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/itw_python_builder.egg-info/SOURCES.txt +0 -0
- {itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/itw_python_builder.egg-info/dependency_links.txt +0 -0
- {itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/itw_python_builder.egg-info/entry_points.txt +0 -0
- {itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/itw_python_builder.egg-info/requires.txt +0 -0
- {itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/itw_python_builder.egg-info/top_level.txt +0 -0
- {itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/setup.cfg +0 -0
|
@@ -207,9 +207,9 @@ def release(ctx: Context, skip_pipeline=False) -> None:
|
|
|
207
207
|
def test(ctx: Context, settings='backend.test_settings'):
|
|
208
208
|
"""Run Django tests with coverage"""
|
|
209
209
|
detect_and_activate_venv()
|
|
210
|
-
ctx.run(f'coverage run manage.py test --settings={settings} --keepdb')
|
|
211
|
-
ctx.run('coverage report -m')
|
|
212
|
-
ctx.run('coverage xml -o coverage.xml')
|
|
210
|
+
ctx.run(f'python -m coverage run manage.py test --settings={settings} --keepdb')
|
|
211
|
+
ctx.run('python -m coverage report -m')
|
|
212
|
+
ctx.run('python -m coverage xml -o coverage.xml')
|
|
213
213
|
|
|
214
214
|
|
|
215
215
|
@task
|
|
@@ -220,13 +220,11 @@ def lint(ctx: Context):
|
|
|
220
220
|
print("Running pylint...")
|
|
221
221
|
print("=" * 60)
|
|
222
222
|
ctx.run(
|
|
223
|
-
f'pylint . '
|
|
224
|
-
f'--exit-zero '
|
|
223
|
+
f'python -m pylint . '
|
|
225
224
|
f'--rcfile={PYLINTRC} '
|
|
226
225
|
f'--output-format=parseable '
|
|
227
226
|
f'--msg-template="{{path}}:{{line}}: [{{msg_id}}({{symbol}}), {{obj}}] {{msg}}" '
|
|
228
|
-
f'> pylint-report.txt'
|
|
229
|
-
warn=True
|
|
227
|
+
f'> pylint-report.txt'
|
|
230
228
|
)
|
|
231
229
|
print("✓ pylint done → pylint-report.txt")
|
|
232
230
|
print("\n✓ Lint reports ready for SonarQube")
|
|
@@ -239,7 +237,7 @@ def lintlocal(ctx: Context):
|
|
|
239
237
|
print("\n" + "=" * 60)
|
|
240
238
|
print("Running pylint...")
|
|
241
239
|
print("=" * 60)
|
|
242
|
-
ctx.run(f'pylint . --exit-zero --output-format=parseable --rcfile={PYLINTRC}', warn=True)
|
|
240
|
+
ctx.run(f'python -m pylint . --exit-zero --output-format=parseable --rcfile={PYLINTRC}', warn=True)
|
|
243
241
|
|
|
244
242
|
|
|
245
243
|
@task
|
|
@@ -276,9 +274,9 @@ def buildlocal(ctx: Context):
|
|
|
276
274
|
def testlocal(ctx: Context, settings='backend.test_settings'):
|
|
277
275
|
"""Run tests locally (not in Docker)"""
|
|
278
276
|
detect_and_activate_venv()
|
|
279
|
-
ctx.run(f'coverage run manage.py test --settings={settings} --keepdb')
|
|
280
|
-
ctx.run('coverage report -m')
|
|
281
|
-
ctx.run('coverage xml -o coverage.xml')
|
|
277
|
+
ctx.run(f'python -m coverage run manage.py test --settings={settings} --keepdb')
|
|
278
|
+
ctx.run('python -m coverage report -m')
|
|
279
|
+
ctx.run('python -m coverage xml -o coverage.xml')
|
|
282
280
|
print("✓ Tests completed")
|
|
283
281
|
|
|
284
282
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "itw_python_builder"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.2"
|
|
8
8
|
description = "Standardized Django deployment pipeline with Docker, testing, and SonarQube integration"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/itw_python_builder.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/itw_python_builder.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/itw_python_builder.egg-info/requires.txt
RENAMED
|
File without changes
|
{itw_python_builder-0.1.1 → itw_python_builder-0.1.2}/itw_python_builder.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|