<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/maint/python-lints, branch arti-v2.5.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-03-09T14:28:55Z</updated>
<entry>
<title>chutney scripts: opt into strict typechecking</title>
<updated>2026-03-09T14:28:55Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2026-03-05T22:14:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cb128c422f7a964f99e4a56eab0c7ba3a9a3a72f'/>
<id>urn:sha1:cb128c422f7a964f99e4a56eab0c7ba3a9a3a72f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>python-lints: work around mypy import bug 20962</title>
<updated>2026-03-04T01:43:22Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2026-03-03T21:53:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4c428f883b29ddccc5f19d5dede3fb5433acba32'/>
<id>urn:sha1:4c428f883b29ddccc5f19d5dede3fb5433acba32</id>
<content type='text'>
When analyzing a script, mypy *should* look in the script's directory
for imports, but appears not to do so when the script doesn't have a .py
extension:
https://github.com/python/mypy/issues/20962

We can work around that by adding the script's directory to MYPYPATH.

With that workaround, we no longer need to add OTHER_PYTHON files to
every invocation when analyzing scripts. That also worked around the
problem in some cases, but experimentally not when the script is more
than one subdirectory deep (?!)
</content>
</entry>
<entry>
<title>Rename maint/list_crates to kebab-case</title>
<updated>2026-01-20T10:45:26Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-01-14T13:43:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5679463169c37b3bf31e444768b9334ca8068e7a'/>
<id>urn:sha1:5679463169c37b3bf31e444768b9334ca8068e7a</id>
<content type='text'>
Swap the symlink direction: now we have list_crates.py (the python
module) with a symlink list-crates pointing to it.  This allows the
module to be imported but the command to be kebab case.

The checking tooling doesn't understand this special arrangement.

Lots of references to update!
</content>
</entry>
<entry>
<title>python-lints script to run flake8, black, and mypy.</title>
<updated>2024-10-29T01:01:24Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-24T12:18:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3deb1558a7e37e4bf77bea325c0b6a5af6a0e0d9'/>
<id>urn:sha1:3deb1558a7e37e4bf77bea325c0b6a5af6a0e0d9</id>
<content type='text'>
The script is a bit tricky because it needs to set arguments
correctly, use the right dependencies, treat packages differently
from scripts, and find all of the packages and scripts
in our repository.
</content>
</entry>
</feed>
