-
Notifications
You must be signed in to change notification settings - Fork 321
/
Makefile
23 lines (19 loc) · 637 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: default
default: tests
getdeps:
@echo "Installing required dependencies"
@pip install --user --upgrade autopep8 certifi pytest pylint urllib3 argon2-cffi pycryptodome typing-extensions mypy
check: getdeps
@echo "Running checks"
@pylint --reports=no --score=no --disable=R0401,R0801,R0917 minio/*py minio/credentials tests/functional
@isort --diff .
@find . -name "*.py" -exec autopep8 --diff --exit-code {} +
@mypy minio
apply: getdeps
@isort .
@find . -name "*.py" -exec autopep8 --in-place {} +
tests: check
@echo "Running unit tests"
@pytest
@echo "Running functional tests"
@env bash run_functional_tests.sh