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

Change default scope to DeclScope #18

Merged
merged 1 commit into from Apr 9, 2021
Merged

Conversation

jeffwidman
Copy link
Contributor

The README says the default scope is declarations but the code currently sets it to toplevel.

So one or the other needs to be adjusted so they are in-sync.

We have hit a bunch of false positives with toplevel and so would prefer to keep the default at declarations.

Especially since it's painful to change just that setting as it requires a config file since it's not possible to pass in a dict/map of custom settings as a CLI arg:
#17

The `README` says the default scope is `declarations` but the code currently sets it to `toplevel`.

So one or the other needs to be adjusted so they are in-sync.

We have hit a bunch of false positives with `toplevel` and so would prefer to keep the default at `declarations`.

Especially since it's painful to change just that setting as it requires a config file since it's not possible to pass in a dict/map of custom settings as a CLI arg:
#17
@tetafro
Copy link
Owner

tetafro commented Apr 9, 2021

Especially since it's painful to change just that setting as it requires a config file since it's not possible to pass in a dict/map of custom settings as a CLI arg

Actually you can

godot --scope declarations

But still thanks for your PR. The code should be in sync with the docs.

@tetafro tetafro merged commit 6e4ec64 into tetafro:master Apr 9, 2021
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.

None yet

2 participants