Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize formatting and fix Codacy errors #138

Open
wants to merge 29 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
802f415
add markdown file changes from branch u/tjr/coda
troyraen Mar 2, 2022
c17f416
run mdformat on all markdown files
troyraen Mar 2, 2022
c93df9e
add toc
troyraen Mar 2, 2022
0a47794
remove table
troyraen Mar 2, 2022
552fe72
standardize formatting. eg quotes and brackets
troyraen Mar 2, 2022
89a3a7f
add missing variables and remove unused ones
troyraen Mar 2, 2022
984aebc
add || exit to cd statements
troyraen Mar 2, 2022
b8a4963
avoid cd
troyraen Mar 2, 2022
911191d
use -r with read to avoid mangling backslashes
troyraen Mar 2, 2022
6c73a96
run beautysh. fixes spacing.
troyraen Mar 2, 2022
027f02a
run black
troyraen Mar 2, 2022
a45cf53
reorder imports
troyraen Mar 2, 2022
754ce6b
fix spacing, unnecessary f strings, docstrings
troyraen Mar 2, 2022
5b70a5d
isinstance - type. raise from. snake case. is not - !=.
troyraen Mar 2, 2022
f91ee36
unused variables. list and dict comprehension. catch explicity errors.
troyraen Mar 2, 2022
0babeb5
pylint disable warnings that won't be fixed
troyraen Mar 2, 2022
7c71cd4
Merge pull request #132 from mwvgroup/u/tjr/codacy_markdown
troyraen Mar 2, 2022
af46155
Merge pull request #134 from mwvgroup/u/tjr/codacy_shell
troyraen Mar 2, 2022
d358bb2
add .pylintrc
troyraen Mar 2, 2022
2e247ef
pylint skip-file
troyraen Mar 2, 2022
586ccdb
Merge pull request #137 from mwvgroup/u/tjr/codacy_python
troyraen Mar 2, 2022
00f448f
add .pre-commit-config.yaml
troyraen Mar 2, 2022
ecc1584
remove directory dev_utils/beam
troyraen Mar 2, 2022
74a6e5d
pylint: skip-file
troyraen Mar 2, 2022
129bd61
add autopep8 and reorder hooks
troyraen Mar 26, 2022
339df24
change max-line-length to 120
troyraen Mar 26, 2022
a575670
run autopep8
troyraen Mar 26, 2022
94c4ef7
Merge pull request #149 from mwvgroup/u/tjr/codacy_pep8
troyraen Mar 26, 2022
b11695f
add mdformat-toc
troyraen Mar 26, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
repos:
# make bash scripts more readable
- repo: https://github.com/lovesegfault/beautysh
rev: v6.2.1
hooks:
- id: beautysh
# blackify python files
- repo: https://github.com/psf/black
rev: 22.1.0
hooks:
- id: black
# run pep8 on python files
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: 'v1.6.0'
hooks:
- id: autopep8
args: [-i, --max-line-length=120]
# lint markdown files
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.13
hooks:
- id: mdformat
additional_dependencies:
- mdformat-beautysh
- mdformat-black
- black==22.1.0
- mdformat-config
- mdformat-gfm
- mdformat-toc
- mdformat-web
Loading