Skip to content

chore: Improve repo infrastration#22

Merged
Ahzyuan merged 14 commits intov0.1.xfrom
chore/repo-management
Apr 21, 2025
Merged

chore: Improve repo infrastration#22
Ahzyuan merged 14 commits intov0.1.xfrom
chore/repo-management

Conversation

@Ahzyuan
Copy link
Copy Markdown
Member

@Ahzyuan Ahzyuan commented Apr 21, 2025

  1. Improve repo infrastration
  • ci
  • build
  • contributing
  • documentation
  1. Refactor to make the repo structure more concise and intuitive: see misc directory.

  2. Add py.typed to meet PEP-561 requirement.

Ahzyuan added 14 commits April 10, 2025 21:06
- Move `packaging.sh` and `check_meta.sh` from root to misc/ directory
- Update both scripts to use a more robust directory finding method
- Update `check_meta.sh` to correctly compare Python version requirements
- PR management: `pr_autolabel.yml` + `pr-title-checker-config.json`
- Lint, format and test: `compatibility_test.yml` + `minimal_test.yml`
- Publish & Release: `publish_release.yml` + `release_drafter.yml`
- Other: `badge_updater.yml`
- Expand the docstring to provide comprehensive information about torchmeter's features
- Update project URL and author information
- Add `py.typed` according to PEP 561 instructions
- Add `.coveragerc` to omit certain files or codes in coverage analysis
- Add `pytest.ini` to set pytest options for parallel testing, code coverage, and test selection
…ng and formatting

- Update rich component references in comments of `default_cfg.yaml`
- Add `lint_format.sh` for code linting and formatting
- Update `MANIFEST.in` to include YAML files and exclude unnecessary folders
- Update `requirements.txt` with new dependencies and version specifications
- Update `setup.cfg` with project metadata, Python version requirements, and test dependencies
- Add entry point for command line interface in `setup.py`
- Update PR title checker regex to include 'build' type and improve format
- Add 'build' category to release drafter configuration
- Modify release title to `torchmeter <version>`
- Check of the tag's located branch switches from `master` to the version branch
- `ISSUE_TEMPLATE/config.yml`: the community (discussion forum) link has been opened.
- `PULL_REQUEST_TEMPLATE.md`: update docs-related links
add following files:
- `CONTRIBUTING.md`
- `CONTRIBUTORS.md`
- `CODE_OF_CONDUCT.md`
- `CODEOWNERS`
- Add `misc/validate_pr_title.sh` script for PR title validation
- Update `.gitignore` to exclude new directories and files
- Add organization name to  `LICENSE`
@Ahzyuan Ahzyuan self-assigned this Apr 21, 2025
@Ahzyuan Ahzyuan changed the title chore: Repo management chore: Improve repo infrastration Apr 21, 2025
@Ahzyuan Ahzyuan merged commit 2988195 into v0.1.x Apr 21, 2025
1 of 2 checks passed
@Ahzyuan Ahzyuan deleted the chore/repo-management branch April 21, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant