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
17 changes: 5 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,14 @@ on:

jobs:

flake8:
name: Flake8
ruff:
name: Ruff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7.0.1
- name: Set Up Python
uses: actions/setup-python@v7.0.0
- uses: astral-sh/ruff-action@v4.1.0
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install flake8
- name: Check
run: python -m flake8
args: check --ignore=UP031 --target-version=py38

mypy:
name: MyPy
Expand All @@ -49,7 +42,7 @@ jobs:
test:
name: Test
needs:
- flake8
- ruff
- mypy
runs-on: ubuntu-latest
strategy:
Expand Down
14 changes: 7 additions & 7 deletions httpx_gssapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@
Both the sync and async HTTPX APIs should be fully supported.
"""
__all__ = (
'DISABLED',
'OPTIONAL',
'REQUIRED',
'SPNEGO',
'HTTPSPNEGOAuth',
'MutualAuthenticationError',
'SPNEGO',
'REQUIRED',
'OPTIONAL',
'DISABLED',
)

import os
import logging
import os

from .gssapi_ import HTTPSPNEGOAuth, SPNEGO, REQUIRED, OPTIONAL, DISABLED
from ._version import get_versions
from .exceptions import MutualAuthenticationError
from .gssapi_ import DISABLED, OPTIONAL, REQUIRED, SPNEGO, HTTPSPNEGOAuth

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions

Expand Down
Loading
Loading