Skip to content

Commit

Permalink
Add pre-commit to run tests, move dev python modules to new requireme…
Browse files Browse the repository at this point in the history
…nts-dev.txt file
  • Loading branch information
erunks committed Jun 10, 2020
1 parent ee1c64f commit 2d925b4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- repo: local
hooks:
- id: unittest
name: Run Unittest
entry: sh scripts/run_tests.sh
language: system
types: [python]
always_run: true
3 changes: 3 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
freezegun
ipdb
pre-commit
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
freezegun
ipdb
mysql.connector
pingparsing
python-dotenv
Expand Down
1 change: 0 additions & 1 deletion src/InternetStatusReporter.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import asyncio
import ipdb
from os import getenv

class InternetStatusReporter:
Expand Down

0 comments on commit 2d925b4

Please sign in to comment.