Skip to content

Commit d4ed750

Browse files
authored
Merge branch 'main' into dependabot/pip/pylint-2.15.5
2 parents ccab767 + 2995360 commit d4ed750

24 files changed

+254
-620
lines changed

.github/workflows/tests.yml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Install dependencies
5050
run: pipenv install --dev
5151
- name: Linter with pylint
52-
run: pipenv run pylint meilisearch
52+
run: pipenv run pylint meilisearch tests
5353

5454
mypy:
5555
name: mypy
@@ -66,3 +66,35 @@ jobs:
6666
run: pipenv install --dev
6767
- name: mypy type check
6868
run: pipenv run mypy meilisearch
69+
70+
black:
71+
name: black
72+
runs-on: ubuntu-latest
73+
steps:
74+
- uses: actions/checkout@v3
75+
- name: Set up Python 3.9
76+
uses: actions/setup-python@v4
77+
with:
78+
python-version: 3.9
79+
- name: Install pipenv
80+
uses: dschep/install-pipenv-action@v1
81+
- name: Install dependencies
82+
run: pipenv install --dev
83+
- name: black
84+
run: pipenv run black meilisearch tests setup.py --check
85+
86+
isort:
87+
name: isort
88+
runs-on: ubuntu-latest
89+
steps:
90+
- uses: actions/checkout@v3
91+
- name: Set up Python 3.9
92+
uses: actions/setup-python@v2
93+
with:
94+
python-version: 3.9
95+
- name: Install pipenv
96+
uses: dschep/install-pipenv-action@v1
97+
- name: Install dependencies
98+
run: pipenv install --dev
99+
- name: isort
100+
run: pipenv run isort meilisearch tests setup.py --check-only

0 commit comments

Comments
 (0)