Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

unneeded_not.txt 1.2KB

1234567891011121314
  1. unneeded-not:10:unneeded_not:Consider changing "not not bool_var" to "bool_var"
  2. unneeded-not:12:unneeded_not:Consider changing "not someint == 1" to "someint != 1"
  3. unneeded-not:14:unneeded_not:Consider changing "not someint != 1" to "someint == 1"
  4. unneeded-not:16:unneeded_not:Consider changing "not someint < 1" to "someint >= 1"
  5. unneeded-not:18:unneeded_not:Consider changing "not someint > 1" to "someint <= 1"
  6. unneeded-not:20:unneeded_not:Consider changing "not someint <= 1" to "someint > 1"
  7. unneeded-not:22:unneeded_not:Consider changing "not someint >= 1" to "someint < 1"
  8. unneeded-not:24:unneeded_not:Consider changing "not not someint" to "someint"
  9. unneeded-not:26:unneeded_not:Consider changing "not bool_var == True" to "bool_var != True"
  10. unneeded-not:28:unneeded_not:Consider changing "not bool_var == False" to "bool_var != False"
  11. unneeded-not:30:unneeded_not:Consider changing "not bool_var != True" to "bool_var == True"
  12. unneeded-not:32:unneeded_not:Consider changing "not True == True" to "True != True"
  13. unneeded-not:34:unneeded_not:Consider changing "not 2 in [3, 4]" to "2 not in [3, 4]"
  14. unneeded-not:36:unneeded_not:Consider changing "not someint is 'test'" to "someint is not 'test'"