Skip to content

Commit 9f01689

Browse files
style: apply formatting rules and reference configurations
1 parent c406c71 commit 9f01689

4 files changed

Lines changed: 55 additions & 2 deletions

File tree

.editorconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_style = space
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true
9+
10+
[*.py]
11+
indent_size = 4
12+
continuation_indent_size = 8
13+
combine_as_imports = true
14+
max_line_length = 88
15+
multi_line_output = 4
16+
quote_type = single
17+
skip = build,.tox,venv
18+
19+
[*.yml]
20+
indent_size = 2
21+
22+
[*.md]
23+
indent_size = 2

.markdownlint.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Markdownlint configuration for MyST markdown
2+
default: true
3+
4+
# MD013: Line length - disabled for MyST as it handles wrapping
5+
MD013: false
6+
7+
# MD033: Inline HTML - allowed for MyST directives and roles
8+
MD033: false
9+
10+
# MD034: Bare URLs - disabled as MyST handles links differently
11+
MD034: false
12+
13+
# MD041: First line in file should be a top level heading - disabled
14+
# as MyST files often have frontmatter first
15+
MD041: false
16+
# MD046: Code block style - consistent for all code blocks
17+
MD046:
18+
style: fenced
19+
# MD024: Multiple headings with the same content - allowed
20+
MD024:
21+
siblings_only: true
22+
# MD029: Ordered list item prefix
23+
# Set to 'one' to match mdformat output (all items use '1.')
24+
MD029:
25+
style: one
26+
# MD040: Fenced code blocks should have a language specified
27+
MD040: true
28+
# MD048: Code fence style
29+
MD048:
30+
style: backtick

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Changelog
22

3-
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
3+
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ uv sync
3030
### **For users seeking maximum speed**
3131

3232
```bash
33-
uvx edit-python-pe
33+
uvx edit-python-pe
3434
# Next you'll be prompted for your access token
3535
```
3636

0 commit comments

Comments
 (0)