-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mouving
iced_aw::widgets
to iced_aw::widget
to mimic iced
Updating `.vscode/lauch.json` to handle the new position of the examples Adding a pre-commit config
- Loading branch information
Showing
68 changed files
with
913 additions
and
971 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,3 @@ pkg/ | |
.idea | ||
.DS_Store | ||
.vscode/settings.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
exclude: "(.*).pem" | ||
- id: mixed-line-ending | ||
exclude: "(.*).pem" | ||
args: ['--fix=lf'] | ||
description: Forces to replace line ending by the UNIX 'lf' character. | ||
- id: check-case-conflict | ||
- id: check-merge-conflict | ||
- id: detect-private-key | ||
- id: requirements-txt-fixer | ||
- id: check-added-large-files | ||
- id: check-symlinks | ||
- id: check-toml | ||
|
||
- repo: https://github.com/jumanjihouse/pre-commit-hooks | ||
rev: 3.0.0 | ||
hooks: | ||
- id: markdownlint | ||
args: ['-r ~MD013'] | ||
|
||
- repo: https://github.com/Lucas-C/pre-commit-hooks | ||
rev: v1.5.5 | ||
hooks: | ||
- id: remove-crlf | ||
- id: remove-tabs | ||
|
||
- repo: https://github.com/doublify/pre-commit-rust | ||
rev: v1.0 | ||
hooks: | ||
- id: cargo-check | ||
- id: clippy | ||
|
||
- repo: https://github.com/DevinR528/cargo-sort | ||
rev: v1.0.9 | ||
hooks: | ||
- id: cargo-sort | ||
- repo: local | ||
hooks: | ||
- id: rustfmt | ||
name: rustfmt | ||
description: Check if all files follow the rustfmt style | ||
entry: cargo fmt --all -- --color always | ||
language: system | ||
pass_filenames: false |
Oops, something went wrong.