<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/maint/add_warning, branch arti-v1.7.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.7.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.7.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-07-07T15:50:04Z</updated>
<entry>
<title>Temporarily suppress mismatched_lifetime_syntaxes.</title>
<updated>2025-07-07T15:50:04Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-07-07T15:50:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a11b611466a5a73f5e06a0aabd17284a57d12fe3'/>
<id>urn:sha1:a11b611466a5a73f5e06a0aabd17284a57d12fe3</id>
<content type='text'>
See #2060.
</content>
</entry>
<entry>
<title>clippy: deny `mod_module_files`</title>
<updated>2025-01-06T23:09:41Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-01-06T23:02:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=252a3a803b2db65792db5bd51dee8950d8557e0d'/>
<id>urn:sha1:252a3a803b2db65792db5bd51dee8950d8557e0d</id>
<content type='text'>
Denies 'mod.rs' files for consistency.

https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files
</content>
</entry>
<entry>
<title>add_warnings, *: Allow clippy::needless_lifetimes</title>
<updated>2024-12-03T14:27:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-12-03T14:15:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=64cc3f2ed3eea0b7c5cc89ae07cbdadfdc1646fb'/>
<id>urn:sha1:64cc3f2ed3eea0b7c5cc89ae07cbdadfdc1646fb</id>
<content type='text'>
In 1.83, this warning triggers on many of our crates.
We're thinking of fixing them all, but for now,
we're going to disable the warning.

This is part of #1765.
</content>
</entry>
<entry>
<title>python: Use "a not in b" rather than "not a in b".</title>
<updated>2024-10-24T13:51:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-24T13:26:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dec09eb7d7e424b1e008d01977aa35ca7921b30a'/>
<id>urn:sha1:dec09eb7d7e424b1e008d01977aa35ca7921b30a</id>
<content type='text'>
Due to precedence, both work the same, but the former is preferred.
</content>
</entry>
<entry>
<title>Run "black" to reformat all our python</title>
<updated>2024-10-24T12:30:47Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-24T12:25:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bf7e7056f97be0015aa3643ab9c7aa564f17bbe5'/>
<id>urn:sha1:bf7e7056f97be0015aa3643ab9c7aa564f17bbe5</id>
<content type='text'>
"Black" is an "opinionated" python formatter, whose opinionatedness
is somewhat in the spirit of rustfmt.

This MR runs black with default settings on all of our python code
in Arti.  It was produced by the following commands

```
# Everything in python/
black python/
# Everything with a .py extension
fd '.py$' -X black
# Everything with a python shebang.
git grep -l '#! */usr/bin/env *python' | xargs black
```
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2024-09-03T08:09:02Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2024-09-03T08:09:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=676f913463b7d84f34dd6101b99d03ef79cf57ad'/>
<id>urn:sha1:676f913463b7d84f34dd6101b99d03ef79cf57ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add_warning: fix a python mistake.</title>
<updated>2024-05-07T16:43:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-07T16:43:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=23ff845bbec0d2f7b616f0baea63e2b0be72c536'/>
<id>urn:sha1:23ff845bbec0d2f7b616f0baea63e2b0be72c536</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add_warning: Add an "Example lints" list</title>
<updated>2024-05-07T15:15:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-07T15:15:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=48ece29f828faa4c20452bfa252b34062dcaf173'/>
<id>urn:sha1:48ece29f828faa4c20452bfa252b34062dcaf173</id>
<content type='text'>
This is the same as the TEST_LINTS exception list, plus the
nightly exception from our main lints list.  It matches what
we have in crates/examples/*.rs.
</content>
</entry>
<entry>
<title>add_warning: Use regexes and maps to find lists of lints</title>
<updated>2024-05-07T15:06:00Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-07T15:06:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c98990a2076746d3d362197b8ad9c4d2d90b6ecf'/>
<id>urn:sha1:c98990a2076746d3d362197b8ad9c4d2d90b6ecf</id>
<content type='text'>
This keeps our begin/end lines consistent, and lets us add new lists.
</content>
</entry>
<entry>
<title>add_warning: Allow suppression of marked lines, and avoid cfg().</title>
<updated>2024-05-06T13:25:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-06T13:05:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=27a603fda9c5ab671ae39abeb09fc506ea69824a'/>
<id>urn:sha1:27a603fda9c5ab671ae39abeb09fc506ea69824a</id>
<content type='text'>
Sometimes we want to enforce different lints
depending on whether we're running CI.
Until now we've been using `#[cfg(not(ci_arti_FOO))]` for this,
but that approach now seems to be somewhat deprecated,
and to cause warnings on nightly.  (See #1395.)

Instead, I'm tweaking the add_warning script
so that it can conditionally suppress lines depending on
a command-line argument that it receives.
</content>
</entry>
</feed>
