Control: tags -1 + patch
Control: forwarded -1 
https://salsa.debian.org/ci-team/autodep8/merge_requests/17

On Tue, 04 Jun 2019 at 11:46:52 +0200, Alexandre Rossi wrote:
> Maybe autodep8 should allow the package maintainer to customize the python
> module name. Something has been proposed to fix this:
> https://salsa.debian.org/ci-team/autodep8/merge_requests/6

https://salsa.debian.org/ci-team/autodep8/merge_requests/17 is another
version of the same feature.

> Or maybe support/python/generate should handle the special django module case.

I think this special case would be too special: it would cause a
regression if a module named python3-django-foo genuinely expects you to
`import django_foo`.

Antonio Terceiro wrote:
> This import test is also the very minimal testing that can be done in a
> python package. If you care enough about testing to not just delete the
> `Testsuite: autopkgtest-pkg-python` field in debian/control, you might
> as well enable real tests on the package instead.

I think there's value in making it as easy as possible to have superficial
smoke-tests, even if a maintainer doesn't have the time or inclination
to write full test coverage.

    smcv

Reply via email to