Files
codeql/python/ql/lib/semmle/python
Rasmus Wriedt Larsen 220f227707 Python: Add wrapper for isPreferredModuleForName
We talked about how it's annoying that we in 4 places have the same fix
`isPreferredModuleForName(<module>.getFile(), <name> + ["", ".__init__"])`
, and that it would be nice to have a simple wrapper predicate that
ensures we never forget to do the `+ ["", ".__init__"]` dance...

I had trouble coming up with a name for this (ironically), but
I think `getModuleFromName` is good enough.
2023-02-15 14:23:39 +01:00
..
2022-06-23 09:05:32 +00:00
2022-06-23 09:05:32 +00:00
2023-02-07 16:21:15 +00:00
2022-08-24 16:36:15 +01:00
2022-03-30 22:54:01 +02:00
2022-08-19 13:57:41 +02:00
2022-12-01 11:56:44 -05:00
2022-10-13 18:08:47 +02:00
2022-03-30 22:54:01 +02:00
2022-06-23 09:05:32 +00:00
2022-08-19 13:57:41 +02:00
2022-04-22 12:55:28 +02:00
2022-08-24 16:36:15 +01:00
2021-11-26 13:50:10 +01:00
2022-12-16 13:40:10 +01:00