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

Corrected issues with the boolean operators in the config file being … #180

Closed
wants to merge 5 commits into from

Conversation

stampedeboss
Copy link

the added settings were not seen as valid, for instance, allow-dirty in the configuration file was treated as if it didn't exist since it was a still a string and not a Boolean. I added the additional settings.

…treated as strings.

@florisla
Copy link
Collaborator

florisla commented Jan 6, 2021

Hi, what was the result of allow-dirty being treated as if it didn't exist?
What's the desired behavior?

We should add a unit test which covers that behavior.

We also need to

  • Fix failing continuous integration checks.
  • Move the list of 'bool value name' options to a constant
  • Drop the 'Bump version' commits in this branch

@stampedeboss
Copy link
Author

stampedeboss commented Jan 6, 2021 via email

Copy link
Collaborator

@florisla florisla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's going on here? The last commit reverses the first commit...

@florisla
Copy link
Collaborator

Hi, I've looked at this a bit.

What already works today in the config file is setting

allow_dirty = True

What does not work (but shouldn't, because it's not uniform with other options such as tag = True):

allow_dirty

And what also fails to work:

allow_dirty = False

Your change does fix that last case.

I'm going to incorporate that and package it up with some unit tests.

@florisla
Copy link
Collaborator

@stampedeboss, please see #183 which incorporates your fix.

If you desire the 'automatic commit dirty files' as a feature (from 579f21c), please open a separate issue for that -- as that would require some discussion.

@florisla florisla closed this Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants