Skip to content

Commit

Permalink
Fix workflow badge, better formatting defaults, and cleanup workflow …
Browse files Browse the repository at this point in the history
…names (#43)

- Fix workflow badge
- Fix changelog links
- Better formatting defaults within `editorconfig.json`
- Add `hatch run pyproject:format` command
- Rename some github workflows for clarity
  • Loading branch information
Archmonger authored Sep 27, 2024
1 parent bd831ef commit 67075d5
Show file tree
Hide file tree
Showing 12 changed files with 460 additions and 450 deletions.
22 changes: 12 additions & 10 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,29 @@
root = true

[*]
indent_style = tab
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8
max_line_length = 120

[{*.html,*.css,*.js}]
max_line_length = off

[*.py]
indent_size = 4
indent_style = space
max_line_length = 120

[*.{yml,yaml}]
indent_style = space
[*.md]
indent_size = 4

[*.{rst, md}]
indent_style = space
[*.html]
max_line_length = off

[*.js]
max_line_length = off

[*.css]
indent_size = 4
max_line_length = off

# Tests don't get a line width restriction. It's still a good idea to follow
# the 99 character rule, but in the interests of clarity, tests often need to
Expand Down
14 changes: 7 additions & 7 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Feature Request
description: Request an enhancement or new feature.
body:
- type: textarea
id: description
attributes:
label: Description
description: Please describe your feature request with appropriate detail.
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: Please describe your feature request with appropriate detail.
validations:
required: true
62 changes: 31 additions & 31 deletions .github/ISSUE_TEMPLATE/issue.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
name: Issue
description: File an issue
body:
- type: input
id: python_version
attributes:
label: Python Version
description: Which version of Python were you using?
placeholder: 3.9.0
validations:
required: false
- type: input
id: django_version
attributes:
label: Django Version
description: Which version of Django were you using?
placeholder: 3.2.0
validations:
required: false
- type: input
id: package_version
attributes:
label: Package Version
description: Which version of this package were you using? If not the latest version, please check this issue has not since been resolved.
placeholder: 1.0.0
validations:
required: false
- type: textarea
id: description
attributes:
label: Description
description: Please describe your issue.
validations:
required: true
- type: input
id: python_version
attributes:
label: Python Version
description: Which version of Python were you using?
placeholder: 3.9.0
validations:
required: false
- type: input
id: django_version
attributes:
label: Django Version
description: Which version of Django were you using?
placeholder: 3.2.0
validations:
required: false
- type: input
id: package_version
attributes:
label: Package Version
description: Which version of this package were you using? If not the latest version, please check this issue has not since been resolved.
placeholder: 1.0.0
validations:
required: false
- type: textarea
id: description
attributes:
label: Description
description: Please describe your issue.
validations:
required: true
Loading

0 comments on commit 67075d5

Please sign in to comment.