Skip to content

Commit d5c2bed

Browse files
authored
Merge pull request #11 from mjun0812/dev/mjun
feat: add AGENTS.md, remove deprecated rule in ruff and update pre-commit task
2 parents 968533a + 56a3450 commit d5c2bed

File tree

5 files changed

+6
-48
lines changed

5 files changed

+6
-48
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A simple modern Python project template powered by [Copier](https://copier.readt
1313
- 📦 **uv Package Manager**: Fast and reliable package management with [uv](https://github.com/astral-sh/uv)
1414
- 🐳 **Docker Support**: Complete Docker development environment
1515
- 📦 **Devcontainer Support**: VS Code devcontainer for consistent development
16-
-**AI Editor Support**: [Cursor rules](https://docs.cursor.com/context/rules) and
16+
-**AI Editor Support**: [AGENTS.md](https://agents.md) and
1717
[CLAUDE.md](https://docs.anthropic.com/en/docs/claude-code/overview) included for AI-powered development
1818
- 📝 **Type Hints**: Full type annotation support with modern Python features
1919
- 🔍 **Code Quality**: Pre-configured Ruff for linting and formatting
@@ -109,8 +109,8 @@ your-project/
109109

110110
## AI Editor Support
111111

112-
- [Cursor Rules](./template/.cursor/rules/coding_style.mdc)
113-
- [CLAUDE.md](./template/CLAUDE.md)
112+
- [AGENTS.md(`./template/AGENTS.md`)](https://agents.md)
113+
- [CLAUDE.md(`./template/CLAUDE.md`)](https://docs.claude.com/en/docs/claude-code/memory#claude-md-imports)
114114

115115
## Q&A
116116

template/.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
repos:
22
- repo: https://github.com/astral-sh/uv-pre-commit
33
# uv version.
4-
rev: 0.7.11
4+
rev: 0.8.22
55
hooks:
66
- id: uv-lock
77
- repo: https://github.com/astral-sh/ruff-pre-commit
88
# Ruff version.
9-
rev: v0.11.12
9+
rev: v0.13.2
1010
hooks:
1111
# Run the linter.
1212
- id: ruff-check
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
---
2-
description:
3-
globs:
4-
alwaysApply: true
5-
---
61
# Development Guidelines
72

83
This document contains critical information about working with this codebase.

template/CLAUDE.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

template/CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
AGENTS.md

template/pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ ignore = [
6464
"SIM105", # try-except-pass blocks that can be replaced with the contextlib.suppress context manager.
6565
"SIM108", # Use ternary operator instead of `if`-`else`-block
6666
"SIM116", # Use a dictionary instead of consecutive `if` statements
67-
"UP038", # (Deprecated) Use `X | Y` in `isinstance` call instead of `(X, Y)`
6867
]
6968
unfixable = [
7069
"F401", # unused import

0 commit comments

Comments
 (0)