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

[omm] Update CONTRIBUTING.md #1493

Merged
merged 1 commit into from
Dec 14, 2023
Merged
Changes from all commits
Commits
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
9 changes: 9 additions & 0 deletions open-media-match/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,15 @@ mypy src/OpenMediaMatch
```
If you don't run it in this directory, mypyp won't be able to find its settings folder and you'll get different results than the CI.

## Save Keystrokes on Common commands
Add these to your ~/.bashrc file and then reload with `. ~/.bashrc`
```bash
alias b='(cd /workspace/src/OpenMediaMatch && black)'
alias my='(cd /workspace && mypy src/OpenMediaMatch)'
alias t='(cd /workspace/src/OpenMediaMatch && py.test)'
alias myt='my && t'
```

## Recover from mysterious errors during sever startup?
If you had a syntax error in your code when you opened vscode, the automatic flask run that is created for you may fail. You can easily manually run it!

Expand Down
Loading