mirror of
https://github.com/Rikj000/MoniGoMani.git
synced 2022-03-06 00:08:05 +03:00
Add pre-commit as dev-requirement
This commit is contained in:
@@ -34,7 +34,8 @@ repos:
|
||||
# - id: fix-encoding-pragma
|
||||
# - id: pretty-format-json
|
||||
# - id: requirements-txt-fixer
|
||||
# Let's consider a uniform autoformatter like Black
|
||||
|
||||
# Let's consider a uniform autoformatter like Black or Yapf
|
||||
# - repo: https://github.com/psf/black
|
||||
# rev: 19.3b0
|
||||
# hooks:
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
pytest==6.2.4
|
||||
flake8==3.9.2
|
||||
pre-commit==2.10.0
|
||||
@@ -1,12 +1,11 @@
|
||||
from logging import Logger
|
||||
from user_data.mgm_tools.mgm_hurry.MoniGoManiCli import MoniGoManiCli
|
||||
import pytest
|
||||
import sys
|
||||
|
||||
sys.path.append('.')
|
||||
sys.path.append('..')
|
||||
|
||||
from user_data.mgm_tools.mgm_hurry.MoniGoManiCli import MoniGoManiCli
|
||||
|
||||
|
||||
def test_initialisation():
|
||||
cli = __get_instance()
|
||||
|
||||
Reference in New Issue
Block a user