Skip to content

Commit

Permalink
fix: editorconfig for md files and format all
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodluckH authored and owlot committed May 16, 2023
1 parent eed7154 commit db969db
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .cargo-husky/hooks/pre-push
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
#
# Do nothing
# Do nothing
4 changes: 2 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# https://doc.rust-lang.org/cargo/reference/config.html

[build]
rustflags = [
rustflags = [
"-Wmissing_docs",
"-Wmissing_debug_implementations",
"-Wmissing_copy_implementations",
Expand All @@ -11,4 +11,4 @@ rustflags = [
"-Wunstable_features",
"-Wunused_import_braces",
"-Wunused_qualifications"
]
]
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ indent_size = 4
[*.md]
# double whitespace at end of line
# denotes a line break in Markdown
indent_size = off
trim_trailing_whitespace = false
[*.yml]
indent_size = 2
2 changes: 1 addition & 1 deletion .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
exclude: "src/ignoreme.py"
max-line-length: "100"
path: "src"
plugins: "flake8-bugbear==22.1.11 flake8-black"
plugins: "flake8-bugbear==22.1.11 flake8-black"
2 changes: 1 addition & 1 deletion .github/workflows/rust_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
profile: minimal
toolchain: ${{ env.RUST_VERSION }}
override: true

- name: Build
run: cargo build

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Cargo.lock
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
*.pdb
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ features = ["user-hooks"]

[lib]
name = "tmp_lib"
path = "src/tmp_lib.rs"
path = "src/tmp_lib.rs"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
yapf==0.32.0
flake8==4.0.1
flake8==4.0.1
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Do not edit this file.
# Do not edit this file.

0 comments on commit db969db

Please sign in to comment.