Skip to content

Commit

Permalink
Downgrade to Prettier stable release (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
jace authored Jul 1, 2024
1 parent 138eea5 commit 7ec8d77
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 15 deletions.
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,10 @@ repos:
args: ['-c', 'pyproject.toml']
additional_dependencies:
- 'bandit[toml]'
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
- repo: https://github.com/pycontribs/mirrors-prettier
rev: v3.3.1
hooks:
- id: prettier
args: ['--single-quote', '--trailing-comma', 'es5']
- repo: https://github.com/ducminh-phan/reformat-gherkin
rev: v3.0.1
hooks:
Expand Down
6 changes: 6 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
endOfLine: 'lf',
singleQuote: true,
trailingComma: 'es5',
printWidth: 88,
};
4 changes: 2 additions & 2 deletions src/baseframe/templates/baseframe.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{# DEPRECATED: This template is due to be be removed. Use the referenced
template directly. -#} {% extends "baseframe.html.jinja2" %}
{# DEPRECATED: This template is due to be be removed. Use the referenced template
directly. -#} {% extends "baseframe.html.jinja2" %}
4 changes: 2 additions & 2 deletions src/baseframe/templates/baseframe/components.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{# DEPRECATED: This template is due to be be removed. Use the referenced
template directly. -#} {% extends "baseframe/components.html.jinja2" %}
{# DEPRECATED: This template is due to be be removed. Use the referenced template
directly. -#} {% extends "baseframe/components.html.jinja2" %}
4 changes: 2 additions & 2 deletions src/baseframe/templates/baseframe/forms.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{# DEPRECATED: This template is due to be be removed. Use the referenced
template directly. -#} {% extends "baseframe/forms.html.jinja2" %}
{# DEPRECATED: This template is due to be be removed. Use the referenced template
directly. -#} {% extends "baseframe/forms.html.jinja2" %}
4 changes: 2 additions & 2 deletions src/baseframe/templates/baseframe/networkbar.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{# DEPRECATED: This template is due to be be removed. Use the referenced
template directly. -#} {% extends "baseframe/networkbar.html.jinja2" %}
{# DEPRECATED: This template is due to be be removed. Use the referenced template
directly. -#} {% extends "baseframe/networkbar.html.jinja2" %}
4 changes: 2 additions & 2 deletions src/baseframe/templates/formlayout.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{# DEPRECATED: This template is due to be be removed. Use the referenced
template directly. -#} {% extends "formlayout.html.jinja2" %}
{# DEPRECATED: This template is due to be be removed. Use the referenced template
directly. -#} {% extends "formlayout.html.jinja2" %}
4 changes: 2 additions & 2 deletions src/baseframe/templates/layout.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{# DEPRECATED: This template is due to be be removed. Use the referenced
template directly. -#} {% extends "layout.html.jinja2" %}
{# DEPRECATED: This template is due to be be removed. Use the referenced template
directly. -#} {% extends "layout.html.jinja2" %}

0 comments on commit 7ec8d77

Please sign in to comment.