mirror of
https://github.com/Casvt/MIND.git
synced 2026-02-19 11:54:46 -05:00
Removed python 3.7 test
This commit is contained in:
16
.github/workflows/tests.yml
vendored
16
.github/workflows/tests.yml
vendored
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user