Skip to content

Commit

Permalink
add pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
philipperemy committed Oct 4, 2022
1 parent cc06460 commit 66efe0a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tqdm>=4.45.0
click>=7.1.1
pandas>=1.0.3
matplotlib>=3.2.1
tensorflow-macos
tensorflow
Keras>=2.3.1
numpy>=1.18.2
numba>=0.48
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
os.environ['GRPC_PYTHON_BUILD_SYSTEM_OPENSSL'] = '1'
os.environ['GRPC_PYTHON_BUILD_SYSTEM_ZLIB'] = '1'

# numba>=0.48
install_requires = [
tensorflow,
'numpy',
'natsort',
'librosa',
Expand Down
11 changes: 5 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,19 @@ envlist = {py3}-tensorflow-{2.6.2,2.7.0,2.8.0,2.9.0,2.10.0}

[testenv]
setenv =
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
deps = pytest
pylint
flake8
-rrequirements.txt
tensorflow-2.6.2: tensorflow==2.6.2
tensorflow-2.7.0: tensorflow==2.7.0
tensorflow-2.8.0: tensorflow==2.8.0
tensorflow-2.9.0: tensorflow==2.9.0
tensorflow-2.10.0: tensorflow==2.10.0
commands = pylint --disable=R,C,W,E1136 *.py
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exclude=michel,tests --max-line-length 127 --statistics
commands = pylint --disable=R,C,W,E1136 deep_speaker
flake8 deep_speaker --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 deep_speaker --count --exclude=michel,tests --max-line-length 127 --statistics
python example.py
python example_pcm.py
passenv = *
install_command = pip install {packages}
install_command = pip install {packages}

0 comments on commit 66efe0a

Please sign in to comment.