Skip to content

ci: add Ruff config, expand README, fix commitlint, remove setup.py#20

Open
Talleyrand333 wants to merge 1 commit into
stagingfrom
github_action_fix
Open

ci: add Ruff config, expand README, fix commitlint, remove setup.py#20
Talleyrand333 wants to merge 1 commit into
stagingfrom
github_action_fix

Conversation

@Talleyrand333

Copy link
Copy Markdown
Contributor

Summary

Closes remaining gaps from Work Item (10) DEVOPS-004 sprint:

Changes

# Fix File Detail
1 Replace legacy linters with Ruff pyproject.toml Removed [tool.black] + [tool.isort], added Frappe-aligned [tool.ruff], [tool.ruff.lint], [tool.ruff.format]
2 Expand README.md README.md 1.9 KB → 5.9 KB — added prerequisites, architecture overview, DocType table, page lifecycle, key modules, testing, contributing, branch workflow, commit convention
3 Fix commitlint types commitlint.config.js Added missing deprecate type to match Frappe upstream (11 → 12 types)
4 Remove legacy setup.py setup.py Deleted — all metadata already in pyproject.toml ([project] section with name, description, authors, dependencies)

Work Items Addressed

  • WI-000785 — Add Ruff Config to pyproject.toml (Frappe-Aligned)
  • WI-000784 — Align commitlint.config.js with Frappe upstream
  • WI-000787 — Remove Legacy setup.py
  • WI-000792 — Expand README.md

Testing

  • All changes are config/documentation only — no runtime code changes
  • The linters.yml workflow will validate Ruff config on this PR

- Replace legacy black+isort with Frappe-aligned Ruff config in pyproject.toml
- Expand README.md from 1.9KB to 5.9KB (architecture, DocTypes, contributing)
- Add deprecate type to commitlint.config.js (Frappe upstream alignment)
- Remove legacy setup.py (all metadata already in pyproject.toml)
Copilot AI review requested due to automatic review settings June 7, 2026 11:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates project tooling and documentation by migrating Python lint/format configuration to Ruff, expanding the README with setup and contributor guidance, aligning commitlint types with upstream, and removing the legacy setup.py in favor of pyproject.toml.

Changes:

  • Replace Black/isort tool config with Ruff lint + format configuration in pyproject.toml.
  • Expand README.md with prerequisites, architecture overview, testing, and contribution workflow.
  • Add the missing deprecate commit type to commitlint.config.js and remove setup.py.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
pyproject.toml Removes Black/isort config and adds Ruff lint/format configuration.
README.md Adds detailed project documentation (prereqs, architecture, testing, contributing).
commitlint.config.js Extends allowed conventional commit types with deprecate.
setup.py Removes legacy setuptools packaging entrypoint (metadata now in pyproject.toml).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
```bash
# get app
$ bench get-app https://github.com/frappe/wiki
bench get-app https://github.com/ONE-F-M/wiki.git --branch staging
Comment thread README.md
### 1. Fork & Clone

```bash
git clone https://github.com/ONE-F-M/wiki.git
Comment thread README.md
```
Note: Wiki's master branch does not support v13 Frappe / ERPNext

> **Note:** Wiki's master branch does not support v13 Frappe / ERPNext.
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.

2 participants