https://pypi.python.org/pypi/radon impements some of these metrics
___
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/
Hi, effectively it's one of the numerous tools whih allows to have metrics
on code. This PEP would not have to precise tools name, but it's a good
example ^^ ; and can give some more ideas on complementary metrics
___
Python-ideas mailing list
Python-id
Antoine:
>> * skip a test if it allocates too much memory, command line argument
>> to specify how many memory a test is allowed to allocate (ex:
>> --memlimit=2G for 2 GB of memory)
>
> That would be suitable for a plugin if unittest had a plugin
> architecture, but not as a core functionality IMO
On Mon, 18 Sep 2017 12:16:35 +0200
Victor Stinner
wrote:
> Antoine:
> >> * skip a test if it allocates too much memory, command line argument
> >> to specify how many memory a test is allowed to allocate (ex:
> >> --memlimit=2G for 2 GB of memory)
> >
> > That would be suitable for a plugin if u
13.09.17 16:42, Victor Stinner пише:
* skip a test if it allocates too much memory, command line argument
to specify how many memory a test is allowed to allocate (ex:
--memlimit=2G for 2 GB of memory)
Instead of just making checks before running some tests it would be
worth to limit the memor