Skip to content
Open
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
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v6.0.0
hooks:
- id: requirements-txt-fixer
- id: check-merge-conflict
- id: debug-statements
- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 7.0.0
hooks:
- id: isort
- repo: https://github.com/asottile/pyupgrade
rev: v3.17.0
rev: v3.21.2
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/psf/black
rev: 24.8.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.1.0
hooks:
- id: black
- repo: https://github.com/asottile/blacken-docs
rev: 1.18.0
rev: 1.20.0
hooks:
- id: blacken-docs
- repo: meta
Expand Down
1 change: 0 additions & 1 deletion examples/dummy_phone.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
(usually using dummy driver, but it depends on config)
"""


import sys

import gammu
Expand Down
1 change: 0 additions & 1 deletion examples/filesystem_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
- AddFolder
"""


import argparse
import datetime
import os
Expand Down
1 change: 0 additions & 1 deletion examples/getallcalendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#
"""Example for reading calendar from phone"""


import gammu

# Create object for talking with phone
Expand Down
1 change: 0 additions & 1 deletion examples/listfilesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
gammu --getfilesystem -flatall
"""


import argparse
import locale

Expand Down
1 change: 0 additions & 1 deletion examples/mass_sms.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#
"""Sample script to show how to same SMS to multiple recipients"""


import sys

import gammu
Expand Down
1 change: 0 additions & 1 deletion examples/sendlongsms.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#
"""Sample script to show how to send long (multipart) SMS"""


import sys

import gammu
Expand Down
1 change: 0 additions & 1 deletion examples/sendsms.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
Sample script to show how to send SMS
"""


import sys

import gammu
Expand Down
1 change: 0 additions & 1 deletion examples/service_numbers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
Service numbers dialogue example.
"""


import sys

import gammu
Expand Down
1 change: 0 additions & 1 deletion examples/smsd_inject.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#
"""Sample script to show how to send SMS through SMSD"""


import sys

import gammu.smsd
Expand Down
1 change: 0 additions & 1 deletion examples/smsd_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#
"""Sample script to show how to get SMSD status"""


import gammu.smsd

smsd = gammu.smsd.SMSD("/etc/gammu-smsdrc")
Expand Down
1 change: 0 additions & 1 deletion examples/vcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
vCard, vTodo, vCalendar
"""


import sys

import gammu
Expand Down
1 change: 0 additions & 1 deletion examples/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
details.
"""


import sys

import gammu
Expand Down
1 change: 1 addition & 0 deletions gammu/smsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"""
SMSD wrapper layer.
"""

from gammu import SMSD

__all__ = ["SMSD"]
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
python-gammu - Phone communication libary
"""


import codecs
import glob
import os
Expand Down
Loading