treewide: remove unused variables (#63177)

* treewide: remove unused variables

* making ofborg happy
This commit is contained in:
volth
2019-06-16 19:59:06 +00:00
committed by Alyssa Ross
parent ccee4117be
commit f3282c8d1e
765 changed files with 661 additions and 959 deletions

View File

@@ -8,7 +8,6 @@
, gdb
, numpy
, ncurses
, fetchpatch
}:
let

View File

@@ -1,4 +1,4 @@
{ buildPythonPackage, fetchPypi, isPy3k, pytest }:
{ buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "JPype1";

View File

@@ -2,7 +2,6 @@
, buildPythonPackage
, isPy3k
, fetchPypi
, fetchpatch
, doit
, glibcLocales
, pytest

View File

@@ -1,8 +1,6 @@
{ stdenv
, runCommandCC
, lib
, fetchPypi
, gcc
, buildPythonPackage
, isPyPy
, pythonOlder

View File

@@ -1,4 +1,4 @@
{ lib, fetchPypi, fetchpatch, buildPythonPackage
{ lib, fetchPypi, buildPythonPackage
, agate, openpyxl, xlrd, nose
}:

View File

@@ -3,7 +3,6 @@
, fetchPypi
, netifaces
, isPy27
, python
}:
buildPythonPackage rec {

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, makeWrapper, pythonOlder, pyyaml
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pyyaml
, python-dateutil, requests, pymongo, raven, bcrypt, flask, pyjwt, flask-cors, psycopg2, pytz, flask-compress, jinja2
}:

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, makeWrapper
{ stdenv, buildPythonPackage, fetchPypi
, six, click, requests, pytz, tabulate, pythonOlder
}:

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch
{ stdenv, buildPythonPackage, fetchPypi
, pytest, jinja2, sphinx, vega_datasets, ipython, glibcLocales
, entrypoints, jsonschema, numpy, pandas, six, toolz, typing
, pythonOlder, recommonmark }:

View File

@@ -1,6 +1,6 @@
{ gui ? true,
buildPythonPackage, fetchFromGitHub, lib,
sphinx, lxml, isodate, numpy, pytest, openpyxl,
sphinx, lxml, isodate, numpy, openpyxl,
tkinter ? null, py3to2, isPy3k, python,
... }:

View File

@@ -1,4 +1,4 @@
{ lib, fetchPypi, buildPythonPackage, pythonOlder, isPyPy
{ lib, fetchPypi, buildPythonPackage
, lazy-object-proxy, six, wrapt, enum34, singledispatch, backports_functools_lru_cache
, pytest
}:

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, fetchpatch
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
, cryptography
, bcrypt, gssapi, libnacl, libsodium, nettle, pyopenssl
, openssl, openssh }:

View File

@@ -3,7 +3,6 @@
, fetchPypi
, numpy
, ffmpeg_4
, libav
, pkgconfig
}:

View File

@@ -5,7 +5,6 @@
, futures
, pyopenssl
, requests
, pythonOlder
, isPy3k
}:

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchPypi, fetchFromGitHub, buildPythonPackage, pytest }:
{ stdenv, fetchPypi, buildPythonPackage, pytest }:
buildPythonPackage rec {
pname = "backports.shutil_which";

View File

@@ -1,5 +1,4 @@
{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, cython

View File

@@ -2,7 +2,6 @@
, buildPythonPackage
, fetchPypi
, pkgs
, isPy3k
, python
}:

View File

@@ -1,7 +1,7 @@
{ stdenv, lib, buildPythonPackage, fetchPypi, makeWrapper, isPy3k,
python, twisted, jinja2, zope_interface, future, sqlalchemy,
sqlalchemy_migrate, dateutil, txaio, autobahn, pyjwt, pyyaml, treq,
txrequests, txgithub, pyjade, boto3, moto, mock, python-lz4, setuptoolsTrial,
txrequests, pyjade, boto3, moto, mock, python-lz4, setuptoolsTrial,
isort, pylint, flake8, buildbot-worker, buildbot-pkg, parameterized,
glibcLocales }:

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, setuptools }:
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "buildbot-pkg";

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, python, setuptoolsTrial, mock, twisted, future }:
{ lib, buildPythonPackage, fetchPypi, setuptoolsTrial, mock, twisted, future }:
buildPythonPackage (rec {
pname = "buildbot-worker";

View File

@@ -1,6 +1,6 @@
{ buildPythonPackage, lib, fetchPypi
, pytest, filelock, mock, pep8
, cython, isPy27, isPy37, glibcLocales
, cython, isPy27
, six, pyshp, shapely, geos, proj, numpy
, gdal, pillow, matplotlib, pyepsg, pykdtree, scipy, owslib, fiona
, xvfb_run

View File

@@ -2,7 +2,6 @@
, libev
, buildPythonPackage
, fetchPypi
, pkgs
, cython
, futures
, six

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy37, fetchpatch, iana-etc, libredirect
{ stdenv, buildPythonPackage, fetchPypi, iana-etc, libredirect
, case, pytest, boto3, moto, kombu, billiard, pytz, anyjson, amqp, eventlet
}:

View File

@@ -11,7 +11,6 @@
, six
, typing
, wheel
, pythonOlder
, watchdog
, pytest
, hypothesis

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, substituteAll, locale, pytest }:
{ lib, buildPythonPackage, fetchPypi, locale, pytest }:
buildPythonPackage rec {
pname = "click";

View File

@@ -1,5 +1,4 @@
{ stdenv
, lib
{ lib
, buildPythonPackage
, pkgs
, numpy

View File

@@ -6,7 +6,6 @@
, distributed
, pytest
, scikitlearn
, scipy
}:
buildPythonPackage rec {

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchPypi, buildPythonPackage, pytest, pytestcov, tox }:
{ stdenv, fetchPypi, buildPythonPackage, pytest, pytestcov }:
buildPythonPackage rec {
pname = "distro";

View File

@@ -1,7 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, python
}:
buildPythonPackage rec {

View File

@@ -1,5 +1,4 @@
{ stdenv, buildPythonPackage, fetchurl, substituteAll,
pythonOlder,
geos, gdal, pytz,
withGdal ? false
}:

View File

@@ -1,7 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchurl
, pythonOlder
}:
buildPythonPackage rec {

View File

@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi
, django_environ, mock, django, six
, django_environ, mock, django
, pytest, pytestrunner, pytest-django
}:
buildPythonPackage rec {

View File

@@ -1,6 +1,5 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, isPyPy
, isPy3k
, cython

View File

@@ -1,6 +1,5 @@
{ buildPythonPackage
, fetchPypi
, isPy37
, lib
, six
, attrs

View File

@@ -5,7 +5,6 @@
, elasticsearch
, ipaddress
, python-dateutil
, pytz
, six
}:

View File

@@ -9,7 +9,6 @@
, six
, pathlib
, python_magic
, isPy3k
, lib
}:

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "fastentrypoints";

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, isPy3k, fetchPypi, fetchpatch, numba, numpy, pandas,
{ lib, buildPythonPackage, fetchPypi, fetchpatch, numba, numpy, pandas,
pytestrunner, thrift, pytest, python-snappy, lz4 }:
buildPythonPackage rec {

View File

@@ -2,7 +2,6 @@
, buildPythonPackage
, fetchPypi
, re2
, pytest
}:
buildPythonPackage rec {

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, fetchpatch
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
, mock, pytest, pytestrunner
, configparser, enum34, mccabe, pycodestyle, pyflakes, entrypoints, functools32, typing
}:

View File

@@ -1,6 +1,5 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, tornado
, futures
, html5lib

View File

@@ -3,7 +3,6 @@
, fetchPypi
, pytools
, numpy
, pytest
}:
buildPythonPackage rec {

View File

@@ -1,7 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, gevent
}:

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k
{ lib, buildPythonPackage, fetchPypi
, httplib2, google_auth, google-auth-httplib2, six, uritemplate, oauth2client }:
buildPythonPackage rec {

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, lib, grpc, grpcio}:
{ stdenv, buildPythonPackage, fetchPypi, lib, grpcio}:
buildPythonPackage rec {
pname = "grpcio-tools";

View File

@@ -1,6 +1,5 @@
{ stdenv
, buildPythonPackage
, fetchurl
, pkgs
, python
, pygobject3

View File

@@ -1,5 +1,4 @@
{ lib
, buildPythonPackage
{ buildPythonPackage
, numba
, ndtypes
, xnd

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, isPy3k
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, transitions, websockets, passlib, docopt, pyyaml, nose }:
buildPythonPackage rec {

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchgit
{ stdenv, fetchgit
, cmake, pkgconfig
, python
, mpi ? null

View File

@@ -5,7 +5,6 @@
, requests-cache
, pygments
, pyquery
, python
}:
buildPythonPackage rec {

View File

@@ -8,8 +8,6 @@
, nose
, nose-exclude
, coverage
, certifi
, urllib3
, rednose
, nose-randomly
, six

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, idna, pytest }:
{ stdenv, buildPythonPackage, fetchPypi, idna }:
buildPythonPackage rec {
pname = "hyperlink";

View File

@@ -3,7 +3,6 @@
, fetchPypi
, ipaddress
, python
, pythonOlder
}:
buildPythonPackage rec {

View File

@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, influxdb, graphite_api, memcached, gnugrep
, influxdb, graphite_api, memcached
}:
buildPythonPackage rec {

View File

@@ -1,6 +1,5 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, html5lib
, six
, beautifulsoup4

View File

@@ -15,7 +15,6 @@
, six
, tornado
, pytest
, pythonOlder
, isPy27
}:

View File

@@ -2,7 +2,6 @@
, buildPythonPackage
, fetchPypi
, fetchpatch
, fetchurl
}:
buildPythonPackage rec {

View File

@@ -2,7 +2,6 @@
, stdenv
, buildPythonPackage
, fetchPypi
, fetchpatch
# Build dependencies
, glibcLocales
# Test dependencies

View File

@@ -1,7 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, python
, six
}:

View File

@@ -1,7 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pip
, pbr
, mock
, python-jenkins

View File

@@ -1,4 +1,4 @@
{ lib, fetchPypi, buildPythonApplication, EditorConfig, fetchpatch, pytest, six }:
{ lib, fetchPypi, buildPythonApplication, EditorConfig, pytest, six }:
buildPythonApplication rec {
pname = "jsbeautifier";

View File

@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, six
, pytest, pytest-flake8, backports_unittest-mock, keyring, setuptools_scm
, pytest, backports_unittest-mock, keyring, setuptools_scm
}:
buildPythonPackage rec {

View File

@@ -1,7 +1,6 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, python
}:
buildPythonPackage rec {

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchPypi, fetchFromGitHub, buildPythonPackage, pyasn1 }:
{ stdenv, fetchPypi, buildPythonPackage, pyasn1 }:
buildPythonPackage rec {
pname = "ldap3";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, buildPythonPackage, libsexy, pkgconfig, libxml2, pygtk, pango, gtk2, glib, python }:
{ stdenv, fetchurl, buildPythonPackage, libsexy, pkgconfig, libxml2, pygtk, pango, glib, python }:
buildPythonPackage rec {
pname = "libsexy";

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, buildPythonPackage, fetchPypi, python, libusb1, pytest }:
{ stdenv, buildPythonPackage, fetchPypi, libusb1, pytest }:
buildPythonPackage rec {
pname = "libusb1";

View File

@@ -1,6 +1,5 @@
{ stdenv
, buildPythonPackage
, fetchurl
, pkgs
, isPyPy
, pycrypto

View File

@@ -1,6 +1,6 @@
{ stdenv, fetchPypi, python, buildPythonPackage, isPy3k, pycairo, backports_functools_lru_cache
, which, cycler, dateutil, nose, numpy, pyparsing, sphinx, tornado, kiwisolver
, freetype, libpng, pkgconfig, mock, pytz, pygobject3, functools32, subprocess32
, freetype, libpng, pkgconfig, mock, pytz, pygobject3
, enableGhostscript ? true, ghostscript ? null, gtk3
, enableGtk2 ? false, pygtk ? null, gobject-introspection
, enableGtk3 ? false, cairo

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, buildPythonPackage, isPy3k, fetchPypi
{ lib, buildPythonPackage, isPy3k, fetchPypi
, urllib3, python-dateutil , pytz, faker, mock, nose }:
buildPythonPackage rec {

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchurl, fetchpatch, isPy3k
{ lib, buildPythonPackage, fetchurl, isPy3k
, pytest, werkzeug, pygments
}:

View File

@@ -6,7 +6,6 @@
, decorator
, imageio
, imageio-ffmpeg
, isPy3k
, proglog
, requests
, tqdm

View File

@@ -1,7 +1,6 @@
{ pkgs
, buildPythonPackage
, fetchPypi
, python
, adal
, msrest
}:

View File

@@ -1,6 +1,4 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
{ buildPythonPackage
, numpy
, libndtypes
, isPy27

View File

@@ -1,6 +1,5 @@
{ stdenv
, buildPythonPackage
, fetchpatch
, fetchPypi
, pbr
, pythonix

View File

@@ -1,4 +1,4 @@
{ fetchPypi, buildPythonPackage, lib, six, singledispatch, isPy3k, fetchpatch }:
{ fetchPypi, buildPythonPackage, lib, six, singledispatch, isPy3k }:
buildPythonPackage rec {
version = "3.4.3";

View File

@@ -3,7 +3,6 @@
, fetchurl
, vmprof
, pyqt4
, scons
, isPyPy
, pkgs
}:

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, fetchPypi, python, buildPythonPackage, gfortran, pytest, blas, writeTextFile }:
{ lib, fetchPypi, python, buildPythonPackage, gfortran, pytest, blas, writeTextFile }:
let
blasImplementation = lib.nameFromURL blas.name "-";

View File

@@ -1,8 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, python
, isPy27
, defusedxml
, pytest
}:

View File

@@ -1,6 +1,6 @@
{ stdenv, fetchgit
, cmake
, qtbase, libav, netcdf, qscintilla, zlib, boost, git, fftw, hdf5, libssh
, libav, netcdf, qscintilla, zlib, boost, git, fftw, hdf5, libssh
, pythonPackages
}:

View File

@@ -7,12 +7,6 @@
, markdown
, pyct
, testpath
, pytest
, scipy
, plotly
, altair
, vega_datasets
, hvplot
}:
buildPythonPackage rec {

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, xdg_utils
{ lib, buildPythonPackage, fetchFromGitHub, xdg_utils
, requests, filetype, pyparsing, configparser, arxiv2bib
, pyyaml, chardet, beautifulsoup4, colorama, bibtexparser
, pylibgen, click, python-slugify, habanero, isbnlib

View File

@@ -5,12 +5,9 @@
, bcrypt
, pynacl
, pyasn1
, python
, pytest
, pytest-relaxed
, mock
, isPyPy
, isPy33
}:
buildPythonPackage rec {

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, pytest }:
{ lib, buildPythonPackage, fetchFromGitHub, pytest }:
buildPythonPackage rec {
pname = "pastel";

View File

@@ -1,7 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pythonAtLeast
}:
buildPythonPackage rec {

View File

@@ -6,7 +6,6 @@
, six
, numpy
, tifffile
, pytest
, nose
}:

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, isPy27, callPackage
{ lib, buildPythonPackage, fetchPypi, isPy27
, attrs
, pyrsistent
, six

View File

@@ -1,12 +1,10 @@
{ lib
, python
, fetchPypi
, buildPythonPackage
, gmp
, mpfr
, libmpc
, ppl
, pari
, cython
, cysignals
, gmpy2

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, fetchpatch, pytest, hypothesis }:
{ lib, buildPythonPackage, fetchPypi, pytest, hypothesis }:
buildPythonPackage rec {
pname = "priority";

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k }:
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "progressbar";

View File

@@ -1,7 +1,6 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, fetchpatch
, requests
, pytz
, tzlocal

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, python, isPy3k, fetchurl, arrow-cpp, cmake, cython, futures, hypothesis, numpy, pandas, pytest, pkgconfig, setuptools_scm, six }:
{ lib, buildPythonPackage, python, isPy3k, arrow-cpp, cmake, cython, futures, hypothesis, numpy, pandas, pytest, pkgconfig, setuptools_scm, six }:
let
_arrow-cpp = arrow-cpp.override { inherit python; };

View File

@@ -2,7 +2,6 @@
, buildPythonPackage
, fetchPypi
, pyasn1
, isPyPy
, pytest
}:

View File

@@ -1,5 +1,4 @@
{ stdenv
, fetchurl
, python
, pkgs
, isPy3k

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, unittest2 }:
{ stdenv, buildPythonPackage, fetchPypi, unittest2 }:
buildPythonPackage rec {
pname = "pyflakes";

View File

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
{ lib, buildPythonPackage, fetchFromGitHub
, boost, freetype, ftgl, libGLU_combined
, python
}:

View File

@@ -5,7 +5,6 @@
, psutil
, pyopenssl
, pysendfile
, python
}:
buildPythonPackage rec {

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchurl, isPy27, fetchpatch
{ stdenv, buildPythonPackage, fetchurl, isPy27
, cython, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer, libjpeg, libpng }:
buildPythonPackage rec {

View File

@@ -1,5 +1,4 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, eigen
, nlopt

View File

@@ -3,7 +3,6 @@
, fetchPypi
, fetchFromBitbucket
, isPy3k
, fetchurl
, pkgs
, python
}:

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, buildPythonPackage, fetchPypi, python, astroid, six, isort,
{ stdenv, lib, buildPythonPackage, fetchPypi, astroid, six, isort,
mccabe, configparser, backports_functools_lru_cache, singledispatch,
pytest, pytestrunner, pyenchant }:

Some files were not shown because too many files have changed in this diff Show More