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

[MAINTENANCE] Enable SIM201 #9835

Merged
merged 8 commits into from
Apr 29, 2024
Merged

[MAINTENANCE] Enable SIM201 #9835

merged 8 commits into from
Apr 29, 2024

Conversation

anthonyburdi
Copy link
Member

@anthonyburdi anthonyburdi commented Apr 29, 2024

https://docs.astral.sh/ruff/rules/negate-equal-op/

negate-equal-op (SIM201)

Derived from the flake8-simplify linter.

Fix is always available.

What it does

Checks for negated == operators.

Why is this bad?

Negated == operators are less readable than != operators. When testing
for non-equality, it is more common to use != than ==.

Example

not a == b

Use instead:

a != b

References

Copy link

netlify bot commented Apr 29, 2024

Deploy Preview for niobium-lead-7998 ready!

Name Link
🔨 Latest commit 5848231
🔍 Latest deploy log https://app.netlify.com/sites/niobium-lead-7998/deploys/66301ab80e0f55000812a744
😎 Deploy Preview https://deploy-preview-9835.docs.greatexpectations.io
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@billdirks billdirks left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link

codecov bot commented Apr 29, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 82.51%. Comparing base (ac7b358) to head (5848231).

Files Patch % Lines
...ctations/expectations/expectation_configuration.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #9835   +/-   ##
========================================
  Coverage    82.51%   82.51%           
========================================
  Files          504      504           
  Lines        45082    45082           
========================================
+ Hits         37200    37201    +1     
+ Misses        7882     7881    -1     
Flag Coverage Δ
3.10 65.64% <0.00%> (+<0.01%) ⬆️
3.11 65.64% <0.00%> (+<0.01%) ⬆️
3.11 athena or clickhouse or openpyxl or pyarrow or project or sqlite or aws_creds 53.31% <0.00%> (ø)
3.11 aws_deps 44.23% <0.00%> (ø)
3.11 big 61.08% <0.00%> (ø)
3.11 databricks 45.27% <0.00%> (ø)
3.11 filesystem 62.53% <0.00%> (ø)
3.11 mssql 47.99% <0.00%> (ø)
3.11 mysql 48.04% <0.00%> (ø)
3.11 postgresql 51.69% <0.00%> (ø)
3.11 snowflake 45.86% <0.00%> (ø)
3.11 spark 57.85% <0.00%> (ø)
3.11 trino 51.01% <0.00%> (ø)
3.8 65.65% <0.00%> (+<0.01%) ⬆️
3.8 athena or clickhouse or openpyxl or pyarrow or project or sqlite or aws_creds 53.31% <0.00%> (ø)
3.8 aws_deps 44.24% <0.00%> (ø)
3.8 big 61.08% <0.00%> (ø)
3.8 databricks 45.28% <0.00%> (ø)
3.8 filesystem 62.54% <0.00%> (ø)
3.8 mssql 47.97% <0.00%> (ø)
3.8 mysql 48.02% <0.00%> (ø)
3.8 postgresql 51.68% <0.00%> (ø)
3.8 snowflake 45.87% <0.00%> (ø)
3.8 spark 57.80% <0.00%> (ø)
3.8 trino 51.00% <0.00%> (ø)
3.9 65.65% <0.00%> (+<0.01%) ⬆️
cloud 0.00% <0.00%> (ø)
docs-basic 51.91% <0.00%> (ø)
docs-creds-needed 53.00% <0.00%> (ø)
docs-spark 51.67% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Kilo59 Kilo59 added this pull request to the merge queue Apr 29, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Apr 29, 2024
@anthonyburdi anthonyburdi added this pull request to the merge queue Apr 29, 2024
Merged via the queue into develop with commit 6aed448 Apr 29, 2024
69 checks passed
@anthonyburdi anthonyburdi deleted the m/_/enable-SIM201 branch April 29, 2024 22:54
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

4 participants