From 09c2dd6fe6b866fb5969700e433a48740bcb38e7 Mon Sep 17 00:00:00 2001 From: CasVT Date: Sun, 2 Jul 2023 13:54:55 +0200 Subject: [PATCH] Removed python 3.7 test --- .github/workflows/tests.yml | 16 ---------------- CONTRIBUTING.md | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2163fe0..34a6ac9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,22 +6,6 @@ on: - Development jobs: - p3_7: - name: Python 3.7.1 - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - uses: actions/setup-python@v4 - with: - python-version: 3.7.1 - architecture: x64 - cache: 'pip' - cache-dependency-path: requirements.txt - - run: pip install -r requirements.txt - - run: python3 -m unittest discover -s ./tests -p '*.py' - p3_8: name: Python 3.8.0 runs-on: ubuntu-20.04 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8965f67..f06e3ce 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,7 +25,7 @@ python3 -m unittest discover -v -s './tests' -p '*_test.py' ## Styling guide The code of MIND is written in such way that it follows the following rules. Your code should too. -1. Compatible with python 3.7 . +1. Compatible with python 3.8 . 2. Tabs (4 space size) are used for indentation. 3. Use type hints as much as possible, though don't if it requires importing extra functions or classes (except for the `typing` library). 4. Each function in the backend needs a doc string describing the function, what the inputs are, what errors could be raised from within the function and what the output is.