-
-
Save fkuehlein/fbc67b94a9425544857a612a3b15d0d3 to your computer and use it in GitHub Desktop.
output of `tox -e lint`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(/Users/fritz/Desktop/23_H2_PIK/.env) Fritzs-MacBook-Pro:pyunicorn fritz$ tox -e lint | |
.pkg: _optional_hooks> python /Users/fritz/Desktop/23_H2_PIK/.env/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta | |
.pkg: get_requires_for_build_sdist> python /Users/fritz/Desktop/23_H2_PIK/.env/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta | |
.pkg: get_requires_for_build_wheel> python /Users/fritz/Desktop/23_H2_PIK/.env/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta | |
.pkg: prepare_metadata_for_build_wheel> python /Users/fritz/Desktop/23_H2_PIK/.env/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta | |
.pkg: build_sdist> python /Users/fritz/Desktop/23_H2_PIK/.env/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta | |
lint: install_package> python -I -m pip install --force-reinstall --no-deps /Users/fritz/Desktop/23_H2_PIK/pyunicorn/.tox/.tmp/package/50/pyunicorn-0.7.0a1.tar.gz | |
lint: commands[0]> pylint src/pyunicorn tests | |
************* Module pyunicorn.core.grid | |
src/pyunicorn/core/grid.py:124:4: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) | |
************* Module pyunicorn.core.geo_grid | |
src/pyunicorn/core/geo_grid.py:175:4: W0237: Parameter 'space_grid' has been renamed to 'lat_grid' in overriding 'GeoGrid.RegularGrid' method (arguments-renamed) | |
src/pyunicorn/core/geo_grid.py:175:4: W0237: Parameter 'silence_level' has been renamed to 'lon_grid' in overriding 'GeoGrid.RegularGrid' method (arguments-renamed) | |
************* Module pyunicorn.core.geo_network | |
src/pyunicorn/core/geo_network.py:323:8: C0206: Consider iterating with .items() (consider-using-dict-items) | |
************* Module pyunicorn.core.spatial_network | |
src/pyunicorn/core/spatial_network.py:97:4: W0237: Parameter 'fileformat' has been renamed to 'filename_network' in overriding 'SpatialNetwork.save' method (arguments-renamed) | |
src/pyunicorn/core/spatial_network.py:143:4: W0237: Parameter 'fileformat' has been renamed to 'filename_network' in overriding 'SpatialNetwork.Load' method (arguments-renamed) | |
src/pyunicorn/core/spatial_network.py:143:4: W0237: Parameter 'silence_level' has been renamed to 'filename_grid' in overriding 'SpatialNetwork.Load' method (arguments-renamed) | |
************* Module pyunicorn.core.network | |
src/pyunicorn/core/network.py:1599:8: C2801: Unnecessarily calls dunder method __delattr__. Use del keyword. (unnecessary-dunder-call) | |
src/pyunicorn/core/network.py:1662:12: C2801: Unnecessarily calls dunder method __delattr__. Use del keyword. (unnecessary-dunder-call) | |
************* Module pyunicorn.timeseries.joint_recurrence_network | |
src/pyunicorn/timeseries/joint_recurrence_network.py:223:4: W0237: Parameter 'recurrence_rate' has been renamed to 'density' in overriding 'JointRecurrenceNetwork.set_fixed_recurrence_rate' method (arguments-renamed) | |
************* Module pyunicorn.climate.eventseries_climatenetwork | |
src/pyunicorn/climate/eventseries_climatenetwork.py:47:4: R0913: Too many arguments (16/12) (too-many-arguments) | |
************* Module pyunicorn.climate.climate_data | |
src/pyunicorn/climate/climate_data.py:130:4: W0237: Parameter 'file_type' has been renamed to 'time_cycle' in overriding 'ClimateData.Load' method (arguments-renamed) | |
src/pyunicorn/climate/climate_data.py:130:4: W0237: Parameter 'dimension_names' has been renamed to 'time_name' in overriding 'ClimateData.Load' method (arguments-renamed) | |
src/pyunicorn/climate/climate_data.py:130:4: W0237: Parameter 'window' has been renamed to 'latitude_name' in overriding 'ClimateData.Load' method (arguments-renamed) | |
src/pyunicorn/climate/climate_data.py:130:4: W0237: Parameter 'vertical_level' has been renamed to 'longitude_name' in overriding 'ClimateData.Load' method (arguments-renamed) | |
src/pyunicorn/climate/climate_data.py:130:4: W0237: Parameter 'silence_level' has been renamed to 'data_source' in overriding 'ClimateData.Load' method (arguments-renamed) | |
************* Module pyunicorn.climate.map_plots | |
src/pyunicorn/climate/map_plots.py:280:8: C0200: Consider using enumerate instead of iterating with range and len (consider-using-enumerate) | |
************* Module pyunicorn.climate.havlin | |
src/pyunicorn/climate/havlin.py:255:4: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) | |
src/pyunicorn/climate/havlin.py:268:4: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) | |
************* Module pyunicorn.climate.climate_network | |
src/pyunicorn/climate/climate_network.py:220:4: W0237: Parameter 'fileformat' has been renamed to 'filename_similarity_measure' in overriding 'ClimateNetwork.Load' method (arguments-renamed) | |
src/pyunicorn/climate/climate_network.py:492:12: C3001: Lambda expression assigned to a variable. Define a function using the "def" keyword instead. (unnecessary-lambda-assignment) | |
src/pyunicorn/climate/climate_network.py:499:4: R1710: Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements) | |
----------------------------------- | |
Your code has been rated at 9.97/10 | |
lint: exit 28 (59.04 seconds) /Users/fritz/Desktop/23_H2_PIK/pyunicorn> pylint src/pyunicorn tests pid=12724 | |
.pkg: _exit> python /Users/fritz/Desktop/23_H2_PIK/.env/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta | |
lint: FAIL code 28 (98.34=setup[39.29]+cmd[59.04] seconds) | |
evaluation failed :( (98.75 seconds) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment