Michael Cho
|
74f310577f
|
cleaner: remove RECORD and modify INSTALLER
According to [Python specification][1], we should remove `RECORD` file
to prevent changes to installed formula files via other tools, e.g. pip.
This also improves chances of generating an `all` bottle as it avoids
diff due to checksums of HOMEBREW_PREFIX present files. Also modify
`INSTALLER` file to indicate that brew is managing the Python package.
[1]: https://packaging.python.org/en/latest/specifications/recording-installed-packages/#intentionally-preventing-changes-to-installed-packages
Signed-off-by: Michael Cho <michael@michaelcho.dev>
|
2024-03-10 10:22:55 -04:00 |
|
Douglas Eichelberger
|
26eda5a303
|
git grep -l '^describe' | xargs gsed -i 's|^describe|RSpec.describe|g'
|
2024-02-19 13:57:27 +00: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 |
|
Bo Anderson
|
15280ba107
|
test: avoid improper, late usage of formula DSL
|
2022-08-31 20:40:39 +01:00 |
|
Tim Visher
|
0d81864597
|
Use file.dirname in most cleaner tests
|
2022-04-28 10:40:16 -04:00 |
|
Tim Visher
|
8852208758
|
feedback
|
2022-04-28 10:40:16 -04:00 |
|
Tim Visher
|
48db5eff25
|
lint
|
2022-04-28 10:40:16 -04:00 |
|
Tim Visher
|
fbb3ccbfd6
|
Keep info/#{f.name}/dir files in cleaner
Still cleans `info/dir` and `info/<arch>/dir` files.
Fixes https://github.com/Homebrew/homebrew-core/issues/100190
|
2022-04-28 10:40:16 -04:00 |
|
Rylan Polster
|
af40e072b0
|
style: remove RSpec/NamedSubject violations
|
2021-02-01 20:30:51 -05:00 |
|
Markus Reiter
|
24ae318a3d
|
Move type annotations into files.
|
2020-10-10 14:59:39 +02:00 |
|
Mike McQuaid
|
36dbad3922
|
Add frozen_string_literal to all files.
|
2019-04-20 13:27:36 +09:00 |
|
Mike McQuaid
|
5e1806e796
|
test: rubocop-rspec style auto-corrects.
There’s too many warnings to start enabling `rubocop-rspec` by default
but let’s at least apply the cleanups it does automatically.
|
2018-03-25 13:30:37 +01:00 |
|
Mike McQuaid
|
959538caf5
|
cleaner_spec: have a single "cleans files" test.
This avoids noting the the Linux test as "pending" on Mac.
|
2017-11-29 18:27:16 +00:00 |
|
Bob W. Hogg
|
3cd869651b
|
Add test fixtures for ELF executables
Add test/support/fixtures/elf/
and test/support/fixtures/tarballs/testball-0.1-linux.tbz
|
2017-11-26 08:37:57 -08:00 |
|
Markus Reiter
|
8bea5de173
|
Convert Cleaner test to spec.
|
2017-02-27 11:28:12 +01:00 |
|