Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

california-housing: suppress "literal string will be frozen in the future" warning #207

Conversation

tikkss
Copy link
Contributor

@tikkss tikkss commented Sep 2, 2024

Before change:

$ ruby test/run-test.rb -t CaliforniaHousingTest 2>&1 | grep red-datasets
/Users/zzz/src/github.com/red-data-tools/red-datasets/lib/datasets/california-housing.rb:42:
warning: literal string will be frozen in the future

After change:

$ ruby test/run-test.rb -t CaliforniaHousingTest 2>&1 | grep red-datasets

…ture" warning

Before change:

```console
$ ruby test/run-test.rb -t CaliforniaHousingTest 2>&1 | grep red-datasets
/Users/zzz/src/github.com/red-data-tools/red-datasets/lib/datasets/california-housing.rb:42:
warning: literal string will be frozen in the future
```

After change:

```console
$ ruby test/run-test.rb -t CaliforniaHousingTest 2>&1 | grep red-datasets
```
@kou kou merged commit 778347c into red-data-tools:master Sep 2, 2024
12 checks passed
@kou
Copy link
Member

kou commented Sep 2, 2024

Thanks.

@tikkss tikkss deleted the suppress-frozen-string-literal-warning-california-housing branch September 2, 2024 08:12
@tikkss
Copy link
Contributor Author

tikkss commented Sep 2, 2024

Thanks for your review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants