Public Access
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45a9c7d431 | ||
|
|
8e1c7d03a4 | ||
|
|
2de3ab4d84 |
@@ -18,19 +18,21 @@ venv activation automatically — always prefer `make <target>` over raw command
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
make setup # Create venv, install deps, set up hooks, install CI tools
|
make setup # Create venv, install deps, set up hooks, install CI tools
|
||||||
make install-tools # Install actionlint, git-cliff, act_runner, tea, hadolint to ~/.local/bin
|
make install-tools # Install actionlint, git-cliff, act_runner, tea, hadolint, vale to ~/.local/bin
|
||||||
make lint-all # ruff + pyright + bandit + actionlint + lint-dockerfiles
|
make lint-all # ruff + pyright + bandit + actionlint + lint-dockerfiles
|
||||||
make pytest-cov # Unit tests with 100% coverage enforcement
|
make pytest-cov # Unit tests with 100% coverage enforcement
|
||||||
make test-unit # Unit tests without coverage
|
make test-unit # Unit tests without coverage
|
||||||
make workflow-lint # Static lint of .gitea/workflows/*.yml (actionlint)
|
make workflow-lint # Static lint of .gitea/workflows/*.yml (actionlint)
|
||||||
make workflow-dryrun # Dry-run all workflows in Docker (act_runner exec --dryrun)
|
make workflow-dryrun # Dry-run all workflows in Docker (act_runner exec --dryrun)
|
||||||
make workflow-check # workflow-lint + workflow-dryrun
|
make workflow-check # workflow-lint + workflow-dryrun
|
||||||
|
make devx-check-doc-versions # Verify docs version refs match __version__
|
||||||
|
make devx-vale # Run Vale prose linter on docs and README
|
||||||
make clean # Remove caches, build artifacts, coverage data
|
make clean # Remove caches, build artifacts, coverage data
|
||||||
```
|
```
|
||||||
|
|
||||||
`make setup` automatically installs all development tools:
|
`make setup` automatically installs all development tools:
|
||||||
- **Python deps** via `python -m devx.tools.setup` (pip install -e .[dev], pre-commit hooks)
|
- **Python deps** via `python -m devx.tools.setup` (pip install -e .[dev], pre-commit hooks)
|
||||||
- **actionlint, git-cliff, act_runner, tea, hadolint** via `python -m devx.tools.install_tools` (CI/CD tools to ~/.local/bin)
|
- **actionlint, git-cliff, act_runner, tea, hadolint, vale** via `python -m devx.tools.install_tools` (CI/CD tools to ~/.local/bin)
|
||||||
- **tea CLI login** via `python -m devx.tools.setup` (configures `tea login` from `.env` `CI_GITEA_TOKEN`)
|
- **tea CLI login** via `python -m devx.tools.setup` (configures `tea login` from `.env` `CI_GITEA_TOKEN`)
|
||||||
|
|
||||||
## Workflow Verification (Before Push)
|
## Workflow Verification (Before Push)
|
||||||
@@ -86,11 +88,12 @@ src/devx/
|
|||||||
│ ├── integration_guard.py # Run pytest with cross-runner fail-fast
|
│ ├── integration_guard.py # Run pytest with cross-runner fail-fast
|
||||||
│ ├── check_translations.py # Translation completeness check
|
│ ├── check_translations.py # Translation completeness check
|
||||||
│ ├── doc_coverage.py # Documentation coverage check
|
│ ├── doc_coverage.py # Documentation coverage check
|
||||||
│ └── lint_docs.py # Documentation linter (structure, links, headings)
|
│ └── lint_docs.py # Documentation linter (structure, links, headings, code blocks, orphans)
|
||||||
├── tools/ # Developer tooling modules (run locally or by CI)
|
├── tools/ # Developer tooling modules (run locally or by CI)
|
||||||
│ ├── setup.py # Environment setup (venv, deps, hooks)
|
│ ├── setup.py # Environment setup (venv, deps, hooks)
|
||||||
│ ├── install_tools.py # Install actionlint, git-cliff, act_runner, tea, hadolint
|
│ ├── install_tools.py # Install actionlint, git-cliff, act_runner, tea, hadolint, vale
|
||||||
│ ├── install_checkmake.py # Install checkmake (Makefile linter)
|
│ ├── install_checkmake.py # Install checkmake (Makefile linter)
|
||||||
|
│ ├── check_doc_versions.py # Verify docs version refs match __version__
|
||||||
│ ├── build_image.py # Build and push Docker images to Gitea registry
|
│ ├── build_image.py # Build and push Docker images to Gitea registry
|
||||||
│ ├── clean_images.py # Clean up old Docker image versions from Gitea registry
|
│ ├── clean_images.py # Clean up old Docker image versions from Gitea registry
|
||||||
│ ├── check_test_speed.py # Measure unit test execution time
|
│ ├── check_test_speed.py # Measure unit test execution time
|
||||||
|
|||||||
@@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## [0.35.2] - 2026-07-06
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Exclude .vale directory from lint_docs scanning
|
||||||
|
|
||||||
## [0.35.1] - 2026-07-06
|
## [0.35.1] - 2026-07-06
|
||||||
|
|
||||||
### Refactor
|
### Refactor
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ extra index and list devx in your dependencies:
|
|||||||
```toml
|
```toml
|
||||||
[project]
|
[project]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"devx>=0.35.1",
|
"devx>=0.35.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.pip]
|
[tool.pip]
|
||||||
@@ -101,8 +101,8 @@ pip install -e .
|
|||||||
```
|
```
|
||||||
|
|
||||||
> **Note:** If your project requires a specific devx version, pin it in
|
> **Note:** If your project requires a specific devx version, pin it in
|
||||||
> `dependencies` (for example, `"devx==0.35.1"`) or use a version constraint
|
> `dependencies` (for example, `"devx==0.35.2"`) or use a version constraint
|
||||||
> (for example, `"devx>=0.35.1,<0.36"`).
|
> (for example, `"devx>=0.35.2,<0.36"`).
|
||||||
|
|
||||||
### Optional extras
|
### Optional extras
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -74,14 +74,14 @@ Add devx to your `pyproject.toml` dependencies and configure the registry:
|
|||||||
```toml
|
```toml
|
||||||
[project]
|
[project]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"devx>=0.35.1",
|
"devx>=0.35.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.pip]
|
[tool.pip]
|
||||||
extra-index-url = "https://git.oblachno.oblachno.fyi/api/packages/oblachno-oss/pypi/simple"
|
extra-index-url = "https://git.oblachno.oblachno.fyi/api/packages/oblachno-oss/pypi/simple"
|
||||||
```
|
```
|
||||||
|
|
||||||
Pin a specific version if needed: `"devx==0.35.1"` or `"devx>=0.35.1,<0.36"`.
|
Pin a specific version if needed: `"devx==0.35.2"` or `"devx>=0.35.2,<0.36"`.
|
||||||
|
|
||||||
### Optional extras
|
### Optional extras
|
||||||
|
|
||||||
|
|||||||
@@ -48,12 +48,12 @@ Add devx to your `pyproject.toml`:
|
|||||||
```toml
|
```toml
|
||||||
[project]
|
[project]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"devx>=0.35.1",
|
"devx>=0.35.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
dev = [
|
dev = [
|
||||||
"devx>=0.35.1",
|
"devx>=0.35.2",
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
"""devx — reusable development and CI/CD tools for oblachno-oss projects."""
|
"""devx — reusable development and CI/CD tools for oblachno-oss projects."""
|
||||||
|
|
||||||
__version__ = "0.35.1"
|
__version__ = "0.35.2"
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ _EXCLUDE_DIRS = {
|
|||||||
".pytest_cache",
|
".pytest_cache",
|
||||||
".devin",
|
".devin",
|
||||||
".terraform",
|
".terraform",
|
||||||
|
".vale",
|
||||||
"site-packages",
|
"site-packages",
|
||||||
"dist-info",
|
"dist-info",
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user