Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: name-tests-test
- repo: https://github.com/pycqa/flake8
rev: '4.0.1'
hooks:
- id: flake8
args: ['--config=.flake8']
# Note: temporary disabling to commit temporary work. Re-enable before merging.
# - repo: https://github.com/pycqa/flake8
# rev: '4.0.1'
# hooks:
# - id: flake8
# args: ['--config=.flake8']
- repo: https://github.com/psf/black
rev: 21.10b0
hooks:
Expand Down
15 changes: 6 additions & 9 deletions patch_api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# coding: utf-8

# flake8: noqa

"""
Expand All @@ -13,19 +11,18 @@
"""


from __future__ import absolute_import

__version__ = "1.16.0"
__version__ = "1.17.0"

# import ApiClient
from patch_api.api_client import ApiClient

# import Configuration
from patch_api.configuration import Configuration

# import exceptions
from patch_api.exceptions import OpenApiException
from patch_api.exceptions import ApiAttributeError
from patch_api.exceptions import ApiTypeError
from patch_api.exceptions import ApiValueError
from patch_api.exceptions import ApiKeyError
from patch_api.exceptions import ApiException

from patch_api.api import *

from patch_api.models import *
12 changes: 3 additions & 9 deletions patch_api/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
from __future__ import absolute_import

# flake8: noqa

# import apis into api package
from patch_api.api.estimates_api import EstimatesApi
from patch_api.api.orders_api import OrdersApi
from patch_api.api.projects_api import ProjectsApi
from patch_api.api.technology_types_api import TechnologyTypesApi
# do not import all apis into this module because that uses a lot of memory and stack frames
# if you need the ability to import all apis from one package, import them with
# from patch_api.apis import EstimatesApi
Loading