William Woodruff
af6f728eb4
utils, test: rewrite PyPI::Package
...
This rewrites the `Package` class from the ground up
to better accomodate non-PyPI URLs.
The existing APIs are largely preserved, but with
clearer invariants around when they can or can't be used
(e.g., `#pypi_info`).
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-04 23:32:09 -04:00
William Woodruff
ec0361fd9b
test: add another URL test for update_pypi_url
...
Signed-off-by: William Woodruff <william@yossarian.net>
2023-06-04 00:01:41 -04:00
Douglas Eichelberger
9075cbae62
brew style --fix
2023-04-21 09:58:50 -07:00
Douglas Eichelberger
ac1e6ded9a
git grep -l '# typed: false' | xargs gsed -i 's|# typed: false||g'
2023-04-21 09:57:47 -07:00
Mike McQuaid
63d8de3600
brew style --fix
2023-04-07 19:10:22 +01:00
Mike McQuaid
2d5eab2e1c
brew style --fix
2022-06-30 08:56:21 +01:00
Issy Long
cb2a09e65e
Fix (auto-correct) more RSpec/BeNil
offenses
...
- The `RSpec/BeEq` auto-corrections made more `RSpec/BeNil` offenses, so another go of `brew style --only=RSpec/BeNil --fix\` is needed.
2022-03-01 00:36:37 +00:00
Issy Long
72e48024f0
Fix (auto-correct) RuboCop Rspec/BeEq
offenses
2022-03-01 00:10:14 +00:00
Nanda H Krishna
5ccfbcd1d2
Autocorrect style issues with brew style --fix
2021-07-08 12:36:39 +05:30
John Bampton
1691e615fe
Fix spelling
2021-05-08 11:20:01 +10:00
Rylan Polster
22a3025f6e
utils/pypi: return nil for non-pypi-packages from url
2020-12-03 15:00:30 -05:00
Rylan Polster
4bfb390577
utils/pypi: make package name comparison case-insensitive
2020-12-01 01:19:33 +01:00
Rylan Polster
b2e25d12aa
utils/pypi: refactor package handling
2020-11-24 15:40:15 -05:00