Skip to content

Commit

Permalink
remove Python2 crumbs (#262)
Browse files Browse the repository at this point in the history
* use new unittest.mock everywhere, not only in accountAdmin/base.py

* remove old "from __future__ import" statements

* remove six, pyflakes
  • Loading branch information
a-detiste committed Apr 4, 2024
1 parent 3f091f6 commit 35cc654
Show file tree
Hide file tree
Showing 43 changed files with 114 additions and 163 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine six
pip install setuptools wheel twine
- name: Generate SBOM
run: |
pip install cyclonedx-bom==3.11.7
Expand Down
1 change: 0 additions & 1 deletion duo_client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import absolute_import
from .accounts import Accounts
from .admin import Admin
from .auth import Auth
Expand Down
1 change: 0 additions & 1 deletion duo_client/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<http://www.duosecurity.com/docs/accountsapi>
"""
from __future__ import absolute_import
from . import client

class Accounts(client.Client):
Expand Down
Loading

0 comments on commit 35cc654

Please sign in to comment.