Adam Johnson
Adam Johnson
### Description When it's a bit more stable.
setuptools 67.3.0 has deprecated `pkg_resources.declare_namespace()`: https://setuptools.pypa.io/en/latest/history.html#v67-3-0 This is being triggered by importing `intuit-oauth`: ``` DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('intuitlib')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred...
For #219. Add an example to the example app and a failing test.
If you have `banned-modules` set to `foo.bar = baz`, this code doesn't trigger an error: ``` import foo foo.bar ``` ...when really it should.
### Description A key technique to make Python projects start faster is [deferring imports](https://adamj.eu/tech/2023/03/02/django-profile-and-improve-import-time/#defer-imports). I'd like to add a setting to flake8-tidy-imports that lists imports that must be deferred. An...
This test leads to a pytest-warning on Pytest 3.0+: ``` py from nose_parameterized import parameterized @parameterized([ ('foo',) ]) def test_foo(foo): pass ``` Like: ``` ============================================================== pytest-warning summary ============================================================== WC1 /path/to/test_foo.py...
I've been rolling out Mypy on a client project. When activating the [`disallow_untyped_decorators` flag](https://mypy.readthedocs.io/en/stable/config_file.html#confval-disallow_untyped_decorators), I found I needed type hints for parametrized. I added the below to the project's stubs...
Left empty when moving to Circle CI in 044bf05c5936ba6154d2aec2100e974072a7ccd9
Fix this warning: ``` /.../parameterized/test.py:38: DeprecationWarning: Please use assertRaisesRegex instead. with self.assertRaisesRegexp(expected_exception, expected_regexp): ``` The version ending “p” was deprecated in Python 3.2 and will be removed in 3.12: https://docs.python.org/dev/whatsnew/3.12.html#removed...
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’: > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on...