Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bo-Chun Chen
self-reg-form
Commits
8f96b642
Commit
8f96b642
authored
May 10, 2022
by
Bo-Chun Chen
Browse files
Update README for pre commit hook
parent
5acab4cc
Pipeline
#6094
failed with stage
in 27 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.pre-commit-config.yaml
View file @
8f96b642
...
...
@@ -12,3 +12,7 @@ repos:
rev
:
3.9.1
hooks
:
-
id
:
flake8
-
repo
:
https://github.com/PyCQA/pylint
rev
:
v2.13.8
hooks
:
-
id
:
pylint
README.md
View file @
8f96b642
...
...
@@ -65,6 +65,28 @@ $ pip install -r requirements.txt
`$ rabbitmqctl change_password reggie <new_password>`
.
-
Note that rabbitmqctl may require sudo permissions and that changing the password will require a password
change in the credentials within
`test_producer.py`
and
`base_consumer.py`
as well.
### Setup pre commit hook
-
via Homebrew(Mac)
```
shell
brew
install
pre-commit
```
-
via pip
```
shell
pip
install
pre-commit
```
After pre-commit is installed, run install in the repo directory:
```
shell
$
pre-commit
install
>
pre-commit installed at .git/hooks/pre-commit
```
# Run Project
## 1. Connect to OHPC/OOD
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment