Skip to content

Commit

Permalink
isort examples and fix isort warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pawl committed Dec 21, 2020
1 parent aabe15a commit 4c4bb61
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/add_user.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from rfid import ten_digit_to_comma_format, RFIDClient
from rfid import RFIDClient, ten_digit_to_comma_format

ip_address = "192.168.1.20"
controller_serial = 123106461
Expand Down
2 changes: 1 addition & 1 deletion examples/remove_user.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from rfid import ten_digit_to_comma_format, RFIDClient
from rfid import RFIDClient, ten_digit_to_comma_format

ip_address = "192.168.1.20"
controller_serial = 123106461
Expand Down
6 changes: 4 additions & 2 deletions examples/webserver.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import cherrypy
import os
from rfid import ten_digit_to_comma_format, RFIDClient

import cherrypy

from rfid import RFIDClient, ten_digit_to_comma_format

ip_address = "192.168.1.20"
controller_serial = 123106461
Expand Down
9 changes: 5 additions & 4 deletions examples/windows_webservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
Requires Mark Hammond's pywin32 package.
"""

import win32serviceutil
import win32service
import os

import cherrypy
import os
from rfid import ten_digit_to_comma_format, RFIDClient
import win32service
import win32serviceutil

from rfid import RFIDClient, ten_digit_to_comma_format

ip_address = "192.168.1.20"
controller_serial = 11111111
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ description-file = README.md
[isort]
default_section = THIRDPARTY
known_first_party = rfid
sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER

0 comments on commit 4c4bb61

Please sign in to comment.