From f1f897ab048a116fd1e773a26666d65f857c4e07 Mon Sep 17 00:00:00 2001 From: armantovmasyan Date: Tue, 16 Jan 2024 22:20:01 +0300 Subject: [PATCH] fix: minor fixes in files --- .github/workflows/pylint.yml | 2 +- functions.py | 2 +- main.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index ceff92b..d319916 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -20,4 +20,4 @@ jobs: pip install pylint - name: Analysing the code with pylint run: | - pylint $(git ls-files '*.py') --max-line-length=121 --ignore-docstrings=True --disable=C0116 --disable=E0401 --disable=C0114 + pylint $(git ls-files '*.py') --max-line-length=121 --ignore-docstrings=True --disable=C0116 --disable=E0401 --disable=C0114 --disable=R0913 --disable=R0914 diff --git a/functions.py b/functions.py index 16ff6d3..e393464 100644 --- a/functions.py +++ b/functions.py @@ -6,7 +6,7 @@ # Definition of a system of differential equations -def system(y, t, a, b, c, d): +def system(y, a, b, c, d): y1, y2 = y dy1_dt = a * y1 + b * y2 dy2_dt = c * y1 + d * y2 diff --git a/main.py b/main.py index 17dbc29..a76eb3e 100644 --- a/main.py +++ b/main.py @@ -1,4 +1,4 @@ -from functions import * +from functions import conduct_experiment # Experimental parameters experiment_params = [