unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Marius Bakke <marius@gnu.org>
To: Tanguy Le Carrour <tanguy@bioneland.org>, 42465@debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy@bioneland.org>
Subject: [bug#42465] [PATCH 10/10] gnu: Add python-mypy.
Date: Sat, 25 Jul 2020 18:18:21 +0200	[thread overview]
Message-ID: <871rkztvoy.fsf@gnu.org> (raw)
In-Reply-To: <20200721115633.6088-10-tanguy@bioneland.org>

[-- Attachment #1: Type: text/plain, Size: 1937 bytes --]

Tanguy Le Carrour <tanguy@bioneland.org> writes:

> * gnu/packages/python-check.scm (python-mypy): New variable.

Neat!  I only recently learned about MyPy, good to have it in Guix.

> +(define-public python-mypy
> +  (package
> +    (name "python-mypy")
> +    (version "0.782")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (pypi-uri "mypy" version))
> +        (sha256
> +         (base32
> +          "030kn709515452n6gy2i1d9fg6fyrkmdz228lfpmbslybsld9xzg"))))
> +    (build-system python-build-system)
> +    (arguments
> +     `(#:phases
> +       (modify-phases %standard-phases
> +         (replace 'check
> +           (lambda _
> +             (invoke "./runtests.py")
> +             #t)))))
> +    (native-inputs
> +     `(("python-attrs" ,python-attrs)
> +       ("python-flake8" ,python-flake8)
> +       ("python-flake8-bugbear" ,python-flake8-bugbear)
> +       ("python-flake8-pyi" ,python-flake8-pyi)
> +       ("python-importlib-metadata" ,python-importlib-metadata)
> +       ("python-lxml" ,python-lxml)
> +       ("python-psutil" ,python-psutil)
> +       ("python-py" ,python-py)
> +       ("python-pytest" ,python-pytest)
> +       ("python-pytest-cov" ,python-pytest-cov)
> +       ("python-pytest-forked" ,python-pytest-forked)
> +       ("python-pytest-xdist" ,python-pytest-xdist)
> +       ("python-setuptools" ,python-setuptools)
> +       ("python-virtualenv" ,python-virtualenv)))
> +    (propagated-inputs
> +     `(("python-mypy-extensions" ,python-mypy-extensions)
> +       ("python-typing-extensions" ,python-typing-extensions)
> +       ("python-typed-ast" ,python-typed-ast)))
> +    (home-page "http://www.mypy-lang.org/")
> +    (synopsis "Optional static type checker for Python")

Perhaps s/Optional//?  I mean, if it was mandatory, wouldn't it be part
of cpython?  :-P  Probably I'm missing something, I see upstream uses
optional too.

Anyway, LGTM, nice work!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2020-07-25 16:19 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-21 11:55 [bug#42465] [PATCH 00/10] gnu: Add python-mypy Tanguy Le Carrour
2020-07-21 11:56 ` [bug#42465] [PATCH 01/10] gnu: python-typing-extension: Update to 3.7.4.2 Tanguy Le Carrour
2020-07-21 11:56   ` [bug#42465] [PATCH 02/10] gnu: python-hypothesis: Update to 5.20.0 Tanguy Le Carrour
2020-07-25 15:52     ` Marius Bakke
2020-07-21 11:56   ` [bug#42465] [PATCH 03/10] gnu: Add python-mypy-extensions Tanguy Le Carrour
2020-07-25 15:55     ` Marius Bakke
2020-07-21 11:56   ` [bug#42465] [PATCH 04/10] gnu: Add python-typing-inspect Tanguy Le Carrour
2020-07-25 15:58     ` Marius Bakke
2020-07-21 11:56   ` [bug#42465] [PATCH 05/10] gnu: Add python-libcst Tanguy Le Carrour
2020-07-25 16:03     ` Marius Bakke
2020-07-21 11:56   ` [bug#42465] [PATCH 06/10] gnu: Add python-lark-parser Tanguy Le Carrour
2020-07-25 16:05     ` Marius Bakke
2020-07-21 11:56   ` [bug#42465] [PATCH 07/10] gnu: Add python-hypothesmith Tanguy Le Carrour
2020-07-25 16:09     ` Marius Bakke
2020-07-21 11:56   ` [bug#42465] [PATCH 08/10] gnu: Add python-flake8-bugbear Tanguy Le Carrour
2020-07-25 16:13     ` Marius Bakke
2020-07-21 11:56   ` [bug#42465] [PATCH 09/10] gnu: Add python-flake8-pyi Tanguy Le Carrour
2020-07-25 16:15     ` Marius Bakke
2020-07-21 11:56   ` [bug#42465] [PATCH 10/10] gnu: Add python-mypy Tanguy Le Carrour
2020-07-25 16:18     ` Marius Bakke [this message]
2020-07-27  7:57       ` Tanguy Le Carrour
2020-07-29 22:20         ` bug#42465: " Marius Bakke
2020-07-30  6:36           ` [bug#42465] " Tanguy Le Carrour
2020-07-25 15:47   ` [bug#42465] [PATCH 01/10] gnu: python-typing-extension: Update to 3.7.4.2 Marius Bakke
2020-07-22 12:09 ` [bug#42465] [PATCH v2 " Tanguy Le Carrour
2020-07-22 12:09   ` [bug#42465] [PATCH v2 02/10] gnu: python-hypothesis: Update to 5.20.0 Tanguy Le Carrour
2020-07-22 12:09   ` [bug#42465] [PATCH v2 03/10] gnu: Add python-mypy-extensions Tanguy Le Carrour
2020-07-22 12:09   ` [bug#42465] [PATCH v2 04/10] gnu: Add python-typing-inspect Tanguy Le Carrour
2020-07-22 12:09   ` [bug#42465] [PATCH v2 05/10] gnu: Add python-libcst Tanguy Le Carrour
2020-07-22 12:09   ` [bug#42465] [PATCH v2 06/10] gnu: Add python-lark-parser Tanguy Le Carrour
2020-07-22 12:09   ` [bug#42465] [PATCH v2 07/10] gnu: Add python-hypothesmith Tanguy Le Carrour
2020-07-22 12:09   ` [bug#42465] [PATCH v2 08/10] gnu: Add python-flake8-bugbear Tanguy Le Carrour
2020-07-22 12:09   ` [bug#42465] [PATCH v2 09/10] gnu: Add python-flake8-pyi Tanguy Le Carrour
2020-07-22 12:09   ` [bug#42465] [PATCH v2 10/10] gnu: Add python-mypy Tanguy Le Carrour
2020-07-27  8:00 ` [bug#42465] [PATCH v3 1/9] gnu: Add python-mypy-extensions Tanguy Le Carrour
2020-07-27  8:00   ` [bug#42465] [PATCH v3 2/9] gnu: Add python-typing-inspect Tanguy Le Carrour
2020-07-27  8:00   ` [bug#42465] [PATCH v3 3/9] gnu: Add python-hypothesis-5.23 Tanguy Le Carrour
2020-07-27  8:00   ` [bug#42465] [PATCH v3 4/9] gnu: Add python-libcst Tanguy Le Carrour
2020-07-27  8:00   ` [bug#42465] [PATCH v3 5/9] gnu: Add python-lark-parser Tanguy Le Carrour
2020-07-27  8:00   ` [bug#42465] [PATCH v3 6/9] gnu: Add python-hypothesmith Tanguy Le Carrour
2020-07-27  8:00   ` [bug#42465] [PATCH v3 7/9] gnu: Add python-flake8-bugbear Tanguy Le Carrour
2020-07-27  8:00   ` [bug#42465] [PATCH v3 8/9] gnu: Add python-flake8-pyi Tanguy Le Carrour
2020-07-27  8:00   ` [bug#42465] [PATCH v3 9/9] gnu: Add python-mypy Tanguy Le Carrour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871rkztvoy.fsf@gnu.org \
    --to=marius@gnu.org \
    --cc=42465@debbugs.gnu.org \
    --cc=tanguy@bioneland.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).