Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: don't overload primitives#173

Merged
jschlyter merged 1 commit intomainIdentityPython/JWTConnect-Python-CryptoJWT:mainfrom
str-patchIdentityPython/JWTConnect-Python-CryptoJWT:str-patchCopy head branch name to clipboard
Nov 16, 2024
Merged

fix: don't overload primitives#173
jschlyter merged 1 commit intomainIdentityPython/JWTConnect-Python-CryptoJWT:mainfrom
str-patchIdentityPython/JWTConnect-Python-CryptoJWT:str-patchCopy head branch name to clipboard

Conversation

@peppelinux
Copy link
Member

this PR removes the overload of the primitive str

generally, it would be preferable avoid also variables with single char names, like b or any other that might overload pdb commands

@peppelinux peppelinux requested review from jschlyter and rohe November 14, 2024 21:38
@codecov
Copy link

codecov bot commented Nov 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.33%. Comparing base (69fed0a) to head (f557be4).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #173      +/-   ##
==========================================
+ Coverage   76.24%   76.33%   +0.08%     
==========================================
  Files          44       44              
  Lines        4484     4484              
  Branches      984      839     -145     
==========================================
+ Hits         3419     3423       +4     
  Misses        777      777              
+ Partials      288      284       -4     

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

@jschlyter
Copy link
Collaborator

IIRC there are ruff rules that can be enabled to catch things like this.

@jschlyter jschlyter merged commit 776aef5 into main Nov 16, 2024
@jschlyter jschlyter deleted the str-patch branch November 16, 2024 10:49
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.