cloudtools / cloudtools/troposphere

positive integer - fix the validator

Open
#407 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.9k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

https://github.com/cloudtools/troposphere/blob/master/troposphere/validators.py
zero is neither positive nor negative and we need to correct the validator.

Initiated a discussion and added more details at the forum.
https://groups.google.com/forum/#!topic/cloudtools-dev/1-5u2ZaVpbo

Contributor guide

Open the contributing guide

Research direction

Read troposphere/validators.py and review the linked forum discussion for the additional details. Confirm the positive-integer validator treats zero as neither positive nor negative, then update the validator and its relevant coverage so that behavior is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cloud
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.