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

changes for v1.2 #78

Merged
merged 4 commits into from
Apr 6, 2023
Merged

changes for v1.2 #78

merged 4 commits into from
Apr 6, 2023

Conversation

luisesanmartin
Copy link
Member

Solves #70, #71, #76

- created separate detection function
- excluded cases where condition is given by inrange() or inlist()

solves #70
changed regex so that a minus symbol before a number is not flagged (as in x = -1). This is very common when using negatives and shouldn't be a bad practice
now includes cases where "if" or "else if" are the first non-space character in a line or when they are preceded by a whitespace in any position of a line
@luisesanmartin luisesanmartin changed the base branch from master to v1.02 April 6, 2023 15:38
@luisesanmartin luisesanmartin marked this pull request as ready for review April 6, 2023 15:38
@luisesanmartin luisesanmartin merged commit 419eb97 into v1.02 Apr 6, 2023
@luisesanmartin luisesanmartin deleted the develop branch April 6, 2023 15:39
@luisesanmartin luisesanmartin restored the develop branch April 6, 2023 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant