6 python3Packages.buildPythonApplication rec {
11 src = fetchFromGitHub {
14 rev = "refs/tags/v${version}";
15 hash = "sha256-6MchaqRKJPmvwiDyhCK4kFyIYl2B+2dGL8H8X2ES+VQ=";
19 # remove --cov* options provided to pytest
20 sed -i '/^addopts = "--cov/d' pyproject.toml
23 nativeBuildInputs = with python3Packages; [
27 propagatedBuildInputs = with python3Packages; [
34 nativeCheckInputs = with python3Packages; [
50 "test_checks" # broken because new mypy release added new checks
53 pythonImportsCheck = [
58 description = "A tool for refurbishing and modernizing Python codebases";
59 mainProgram = "refurb";
60 homepage = "https://github.com/dosisod/refurb";
61 license = with licenses; [ gpl3Only ];
62 maintainers = with maintainers; [ knl ];