From 8ade3423f4a23c1a9200f42ce8875d755b679252 Mon Sep 17 00:00:00 2001 From: mraniki <8766259+mraniki@users.noreply.github.com> Date: Sun, 1 Oct 2023 07:39:38 +0200 Subject: [PATCH 1/5] =?UTF-8?q?=F0=9F=91=B7=20CI=20Change?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/.pre-commit-config.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/.pre-commit-config.yaml diff --git a/.github/.pre-commit-config.yaml b/.github/.pre-commit-config.yaml new file mode 100644 index 0000000..dd62c4f --- /dev/null +++ b/.github/.pre-commit-config.yaml @@ -0,0 +1,13 @@ +repos: + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.0.291 + hooks: + - id: ruff + #args: [--fix, --exit-non-zero-on-fix] + + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: check-merge-conflict + - id: check-toml + - id: check-yaml \ No newline at end of file From 60f7aae2055d1931fda456dbf5669223bdce504f Mon Sep 17 00:00:00 2001 From: mraniki Date: Sun, 1 Oct 2023 17:11:31 +0000 Subject: [PATCH 2/5] Update Requirements --- .requirements/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.requirements/requirements.txt b/.requirements/requirements.txt index e56a211..a18f65d 100644 --- a/.requirements/requirements.txt +++ b/.requirements/requirements.txt @@ -1,5 +1,5 @@ colorama==0.4.6 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32" -dynaconf==3.2.2 ; python_version >= "3.10" and python_version < "4.0" +dynaconf==3.2.3 ; python_version >= "3.10" and python_version < "4.0" loguru==0.6.0 ; python_version >= "3.10" and python_version < "4.0" pyparsing==3.1.1 ; python_version >= "3.10" and python_version < "4.0" win32-setctime==1.1.0 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32" From 3f09a8e8448d8c2e57c3b64d4621f42269d28b91 Mon Sep 17 00:00:00 2001 From: mraniki <8766259+mraniki@users.noreply.github.com> Date: Sun, 1 Oct 2023 19:11:43 +0200 Subject: [PATCH 3/5] Update pyproject.toml --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b7ffb8a..2f3bd7e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,8 +24,8 @@ packages = [ [tool.poetry.dependencies] python = "^3.10" -dynaconf = "^3.2.0" -loguru = "^0.6.0" +dynaconf = ">=3.2.0" +loguru = ">=0.6.0" pyparsing = "^3.0.9" From 93459a9544190a56a5124de1f3421797e1e19552 Mon Sep 17 00:00:00 2001 From: mraniki Date: Sun, 1 Oct 2023 17:12:52 +0000 Subject: [PATCH 4/5] Update Requirements --- .requirements/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.requirements/requirements.txt b/.requirements/requirements.txt index a18f65d..46048a5 100644 --- a/.requirements/requirements.txt +++ b/.requirements/requirements.txt @@ -1,5 +1,5 @@ colorama==0.4.6 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32" dynaconf==3.2.3 ; python_version >= "3.10" and python_version < "4.0" -loguru==0.6.0 ; python_version >= "3.10" and python_version < "4.0" +loguru==0.7.2 ; python_version >= "3.10" and python_version < "4.0" pyparsing==3.1.1 ; python_version >= "3.10" and python_version < "4.0" win32-setctime==1.1.0 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "win32" From 54838cf777fd43326a7bcfa67540dbe67c1b97e9 Mon Sep 17 00:00:00 2001 From: mraniki <8766259+mraniki@users.noreply.github.com> Date: Sun, 1 Oct 2023 19:17:22 +0200 Subject: [PATCH 5/5] Update test_unit.py --- tests/test_unit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_unit.py b/tests/test_unit.py index 900ceec..1b4b242 100644 --- a/tests/test_unit.py +++ b/tests/test_unit.py @@ -51,8 +51,8 @@ def result_order(): @pytest.fixture def ignore_order(): - """return valid order""" - return "buy US500" + """return order to ignore""" + return "buy DOGE" @pytest.fixture