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

feat: checks #412

Merged
merged 17 commits into from
Nov 30, 2022
Merged

feat: checks #412

merged 17 commits into from
Nov 30, 2022

Conversation

masfaraud
Copy link
Contributor

  • What kind of changes does this PR introduce?
  • Bug fix
  • new features
  • performance
  • docs update
  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
  • Yes:
  • No
  • Other information:

@GhislainJ GhislainJ linked an issue Nov 10, 2022 that may be closed by this pull request
@GhislainJ GhislainJ added the Status: Ready for review PR is ready to be reviewed. Should pass CI label Nov 10, 2022
@GhislainJ GhislainJ self-requested a review November 10, 2022 17:11
if expected_type is str:
return is_str(value)

if not issubclass(value.__class__, expected_type):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not just isinstance ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

right

@GhislainJ GhislainJ added Status: Ready for merge PR is ready to be merged. Should pass CI and removed Status: Ready for review PR is ready to be reviewed. Should pass CI labels Nov 14, 2022
@masfaraud
Copy link
Contributor Author

is_valid: keep
rename checks() to check_list()

@masfaraud masfaraud merged commit d673a7d into dev Nov 30, 2022
@masfaraud masfaraud deleted the feat/checks branch November 30, 2022 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Ready for merge PR is ready to be merged. Should pass CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Instance Checker
2 participants