Skip to content

Commit 407db65

Browse files
committed
Update: format code and remove unused obj
1 parent 7390131 commit 407db65

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,3 @@ all: test
22

33
test:
44
bash test.sh
5-
6-
document:
7-
bash document.sh

setup.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
#!/usr/bin/env python3
22

3-
# Template by pypi-mobans
4-
import os
5-
import sys
63
import codecs
74
import locale
5+
6+
# Template by pypi-mobans
7+
import os
88
import platform
9+
import sys
910
from shutil import rmtree
1011

11-
from setuptools import Command, setup, find_packages
12+
from setuptools import Command, find_packages, setup
1213

1314
# Work around mbcs bug in distutils.
1415
# http://bugs.python.org/issue10945

snapshot_selenium/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
# flake8: noqa
2-
from snapshot_selenium._version import __version__
3-
from snapshot_selenium._version import __author__
2+
from snapshot_selenium._version import __author__, __version__

snapshot_selenium/snapshot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import time
21
import os
2+
import time
33
from typing import Any
44

55
from selenium import webdriver

test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
pip freeze
2-
nosetests --with-coverage --cover-package snapshot_selenium --cover-package tests tests docs/source snapshot_selenium && flake8 . --exclude=.moban.d,docs --builtins=unicode,xrange,long
2+
nosetests --with-coverage --cover-package snapshot_selenium --cover-package tests tests snapshot_selenium && flake8 . --exclude=.moban.d --builtins=unicode,xrange,long

0 commit comments

Comments
 (0)