This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Use StrCollection
in more places
#14809
Labels
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Task
Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Z-Cleanup
Things we want to get rid of, but aren't actively causing pain
Comments
clokep
added
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Task
Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
O-Occasional
Affects or can be seen by some users regularly or most users rarely
labels
Jan 10, 2023
This was referenced Jan 20, 2023
I was using |
I'm assuming |
Or rather |
I think we also want to look at
|
MadLittleMods
changed the title
Use StrCollection in more places
Use Apr 25, 2023
StrCollection
in more places
MadLittleMods
added
the
Z-Cleanup
Things we want to get rid of, but aren't actively causing pain
label
Apr 25, 2023
5 tasks
squahtx
added a commit
that referenced
this issue
May 18, 2023
Part of #14809. Signed-off-by: Sean Quah <seanq@matrix.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Task
Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Z-Cleanup
Things we want to get rid of, but aren't actively causing pain
Using a
Sequence[str]
orCollection[str]
is bad since astr
also fits those and you usually want this to refer to aSet[str]
,List[str]
,Tuple[str, ...]
, etc.In #14716 @reivilibre added a
StrCollection
type which we can re-use for this.This has bit us a few times in the past but I'm failing to find references at the moment.
It would be good to audit
Sequence[str]
andCollection[str]
and see if any of those should be updated.The text was updated successfully, but these errors were encountered: