diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..dbf9e03 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# EditorConfig — https://editorconfig.org +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space +indent_size = 4 + +[*.{yml,yaml,json,toml}] +indent_size = 2 + +[*.md] +# Preserve trailing whitespace in Markdown (used for hard line breaks) +trim_trailing_whitespace = false + +[Makefile] +indent_style = tab diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b3d7aae..b584e3a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,6 @@ updates: directory: "/" schedule: interval: "weekly" - target-branch: "development" labels: ["infra", "needs-triage"] # Dev dependencies (pytest, coverage tooling). The package itself has @@ -14,5 +13,4 @@ updates: directory: "/" schedule: interval: "weekly" - target-branch: "development" labels: ["infra", "needs-triage"] diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 612a80a..fc338d1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -102,14 +102,16 @@ word choice is especially welcome. ## 📬 Submitting changes -1. Fork the repository and create a topic branch off `development` - (not `main` — `main` is the released line). +1. Fork the repository and create a topic branch off `main` + (this project uses a single-branch model — `main` is the trunk, + and releases are tagged from it). 2. Make your changes in logical commits — one concern per commit. Follow conventional-commit style where reasonable (`fix(linter): ...`, `feat(cli): ...`). 3. Run `pytest` and make sure it's green. -4. Open a Pull Request targeting `development`. The PR template will +4. Open a Pull Request targeting `main`. The PR template will prompt you for test evidence and any security considerations. + All PRs must pass the required `ci-ok` status check before merge. ## 📦 Releasing diff --git a/README.md b/README.md index 6ac346d..ad17836 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,11 @@ -# README.md - # 📜 Devnagiri Maithili DSL +[![CI](https://github.com/alphacrack/python-maithili-dsl/actions/workflows/ci.yml/badge.svg)](https://github.com/alphacrack/python-maithili-dsl/actions/workflows/ci.yml) +[![PyPI](https://img.shields.io/pypi/v/python-maithili.svg)](https://pypi.org/project/python-maithili/) +[![Python versions](https://img.shields.io/pypi/pyversions/python-maithili.svg)](https://pypi.org/project/python-maithili/) +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) +[![Code of Conduct](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md) + A modern Python-compatible programming DSL that lets you write code in **Maithili** using the **Devanagari script**. ---