do you know what this line does?

```
skip_install = true
```

On Mon, Feb 17, 2025 at 12:01 PM <code-quality-requ...@python.org> wrote:
>
> Send code-quality mailing list submissions to
>         code-quality@python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mail.python.org/mailman3/lists/code-quality.python.org/
> or, via email, send a message with subject or body 'help' to
>         code-quality-requ...@python.org
>
> You can reach the person managing the list at
>         code-quality-ow...@python.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of code-quality digest..."
>
> Today's Topics:
>
>    1. Getting tox dependencies from pyproject.toml? (Skip Montanaro)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 17 Feb 2025 10:20:48 -0600
> From: Skip Montanaro <skip.montan...@gmail.com>
> Subject: [code-quality] Getting tox dependencies from pyproject.toml?
> To: code-quality@python.org
> Message-ID:
>         <CANc-5Uxcb3Jjo6Uxo9izxBXpMiyuAwm4_ZkpP=vfvai1wzt...@mail.gmail.com>
> Content-Type: multipart/alternative;
>         boundary="000000000000ecdfd4062e58e964"
>
> I have a small package with several dependencies. From pyproject.toml:
>
> dependencies = [
>     "atpublic>=3.1",
>     "matplotlib>=3.5.2",
>     "numpy>=1.22",
>     "pandas>=1.5.2",
>     "python-dateutil>=2.8.2",
>     "scipy>=1.15.1",
>     "unum>=4.2.1",
>     "xlrd>=2.0.1",
>     "xlwt>=1.3.0",
>     "openpyxl>=3.1.5",
> ]
>
> I created a skeletal tox.ini file which allowed me to run my unit tests
> against several Python versions, as one does. Then I added a lint env:
>
> env_list =
>     py{310,311,312,313},lint
>
> Unfortunately, the virtual environment constructed for the "lint"
> environment had none of my dependencies. (All the other envs are stable and
> have all run this package before, so have the necessary dependencies baked
> in.) To get pylint to shut up about import failures, I had to duplicate
> that dependency list:
>
> [testenv:lint]
> description = run linters
> skip_install = true
> deps =
>     atpublic>=3.1
>     matplotlib>=3.5.2
>     numpy>=1.22
>     openpyxl>=3.1.5
>     pandas>=1.5.2
>     pylint
>     python-dateutil>=2.8.2
>     scipy>=1.15.1
>     unum>=4.2.1
>     xlrd>=2.0.1
>     xlwt>=1.3.0
> commands =
>     pylint csvprogs
>
> Question: Is it possible to avoid this duplication, maybe by having tox
> stuff in pyproject.toml or at least have tox.ini get dependencies from that?
>
> Thanks,
>
> Skip
> -------------- next part --------------
> A message part incompatible with plain text digests has been removed ...
> Name: not available
> Type: text/html
> Size: 2869 bytes
> Desc: not available
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> code-quality mailing list -- code-quality@python.org
> To unsubscribe send an email to code-quality-le...@python.org
> https://mail.python.org/mailman3/lists/code-quality.python.org/
>
>
> ------------------------------
>
> End of code-quality Digest, Vol 120, Issue 1
> ********************************************
_______________________________________________
code-quality mailing list -- code-quality@python.org
To unsubscribe send an email to code-quality-le...@python.org
https://mail.python.org/mailman3/lists/code-quality.python.org/
Member address: arch...@mail-archive.com

Reply via email to