Skip to content

Commit ba4527b

Browse files
committed
Update CI workflows, README, versioning, and core functionality
- Rename CI workflows and simplify build.yml structure - Update README with improved branding and logo - Bump version to 0.0.7 across modules - Fix argument parsing logic and error handling in main.py - Improve glob pattern matching in findskel.py - Add file error handling in walkdir.py - Update pyproject.toml with flake8 configuration
1 parent 1f99337 commit ba4527b

19 files changed

+169
-113
lines changed

.github/workflows/across.yml

100644100755
File mode changed.

.github/workflows/build.yml

100644100755
Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,30 @@
1-
name: Python CI
2-
1+
name: Tests
32
on:
3+
pull_request: null
44
push:
5-
branches: [main, devel]
6-
pull_request:
7-
5+
branches:
6+
- main
7+
- devel
88
jobs:
99
Linux:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
1413
- name: Set up Python
1514
uses: actions/setup-python@v4
1615
with:
1716
python-version: "3.8"
18-
1917
- name: Install dependencies
20-
run: |
21-
python -m pip install --upgrade pip
18+
run: "python -m pip install --upgrade pip
19+
2220
pip install pytest pytest-cov toml flake8 black mypy
21+
2322
pip install -e .
2423
24+
"
2525
- name: Run tests
2626
run: sh tests/run_tests_with_coverage.sh
27-
2827
- name: Run flake8
2928
run: flake8 --ignore=E501 || true
30-
3129
- name: Run mypy
3230
run: mypy renx || true

.github/workflows/publish.yml

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Publish to PyPI
1+
name: Publish
22

33
on:
44
push:

.gitignore

100644100755
File mode changed.

LICENSE

100644100755
File mode changed.

README.md

100644100755
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# renx - Advanced File Renaming Tool
1+
`renx` is a powerful command-line utility for batch renaming files and directories with advanced pattern matching and transformation capabilities.
2+
3+
<img src="logo.svg" width=256>
24

35
[![Python Version](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
46
[![PyPI version fury.io](https://badge.fury.io/py/renx.svg)](https://pypi.python.org/pypi/renx/)
57
[![Tests Status](https://github.com/jet-logic/renx/actions/workflows/build.yml/badge.svg)](https://github.com/jet-logic/renx/actions)
68

7-
`renx` is a powerful command-line utility for batch renaming files and directories with advanced pattern matching and transformation capabilities.
8-
99
## ☕ Support
1010

1111
If you find this project helpful, consider supporting me:

logo.svg

Lines changed: 87 additions & 0 deletions
Loading

pyproject.toml

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ build-backend = "setuptools.build_meta"
55
[tool.setuptools.dynamic]
66
version = {attr = "renx.__init__.__version__"}
77

8+
9+
[tool.flake8]
810
[project]
911
name = "renx"
1012
dynamic = ["version"]

renx/__init__.py

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.0.6"
1+
__version__ = "0.0.7"

renx/__main__.py

100644100755
File mode changed.

0 commit comments

Comments
 (0)