mirror of
https://github.com/khornberg/octokit.py
synced 2026-05-11 00:11:26 +03:00
chore: fix ci commands
This commit is contained in:
@@ -20,5 +20,6 @@ include requirements.txt
|
||||
include .pyup.yml
|
||||
include *.json
|
||||
include *.sh
|
||||
include *.toml
|
||||
|
||||
global-exclude *.py[cod] __pycache__ *.so *.dylib .github .github/*
|
||||
|
||||
@@ -3,9 +3,10 @@ import re
|
||||
from collections import defaultdict
|
||||
|
||||
import requests
|
||||
from octokit_routes import specifications
|
||||
|
||||
from octokit import utils
|
||||
from octokit.base import Base
|
||||
from octokit_routes import specifications
|
||||
|
||||
page_regex = re.compile(r'[\?\&]page=(\d+)[_&=%+\w\d]*>; rel="(\w+)"')
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ from collections import defaultdict
|
||||
|
||||
import requests
|
||||
from jose import jwt
|
||||
|
||||
from octokit import errors
|
||||
from octokit import utils
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ from collections import namedtuple
|
||||
|
||||
import pytest
|
||||
import requests
|
||||
|
||||
from octokit import Octokit
|
||||
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ from collections import namedtuple
|
||||
|
||||
import pytest
|
||||
import requests
|
||||
|
||||
from octokit import Octokit
|
||||
from octokit import errors
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import pytest
|
||||
|
||||
from octokit import errors
|
||||
from octokit.base import Base
|
||||
|
||||
|
||||
@@ -49,11 +49,11 @@ deps =
|
||||
readme-renderer
|
||||
pygments
|
||||
isort
|
||||
black==19.3b0
|
||||
black
|
||||
skip_install = true
|
||||
commands =
|
||||
python setup.py check --strict --metadata --restructuredtext
|
||||
check-manifest {toxinidir}
|
||||
flake8 src tests setup.py
|
||||
isort --verbose --check-only --diff --recursive src tests setup.py
|
||||
isort --verbose --check-only --diff src tests setup.py
|
||||
black -t py36 --check --verbose src tests setup.py
|
||||
|
||||
Reference in New Issue
Block a user