-
Notifications
You must be signed in to change notification settings - Fork 596
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
Description of cfn-lint development environment and build steps #903
Comments
Yeah, you're completely right, the development setup is not really described. Do you need any help or got a specific question right now @matsev ? |
@fatbasstard My intention was to setup the build environment and play with it to get a better understanding of the linter and CloudFormation, however I got stuck before I started. I have only some Python experience and last time I tried I spent a lot of time struggling with installing runtime versions, dependency management (pip, anaconda, virtualenv) and so on before I could do anything useful. I suggest that you add a few lines about required runtime, tools (if any, preferably with a link to each homepage respectively), environment config etc to your documentation. |
Biggest thing that helped me was realizing local repositories can be installed using: These commands check which Python and
(the officially released version can be forcibly reinstalled) |
common PRsnew region rough estimate of maintenance per rule CLI parameters added to script to generate test snapshots commonly maintained structured property information
At least one of these properties must be specified: cfn-lint/src/cfnlint/data/AdditionalSpecs/AtLeastOne.json Lines 20 to 25 in b788cc9
Only one of these properties may be specified: cfn-lint/src/cfnlint/data/AdditionalSpecs/OnlyOne.json Lines 79 to 84 in b788cc9
If this property ( cfn-lint/src/cfnlint/data/AdditionalSpecs/Exclusive.json Lines 102 to 107 in b788cc9
If this property ( cfn-lint/src/cfnlint/data/AdditionalSpecs/Inclusive.json Lines 48 to 52 in b788cc9
Allowed values from botocore (preferred):
Allowed values (hardcoded): cfn-lint/src/cfnlint/data/ExtendedSpecs/all/03_value_types/aws_codebuild.json Lines 2 to 11 in 6cce922
Allowed patterns: cfn-lint/src/cfnlint/data/ExtendedSpecs/all/03_value_types.json Lines 33 to 36 in a46773c
Number size constraints:
String size constraints:
List size constraints:
There should be no functional difference, but After editing cfn-python-lint $ pip3 install -e .
cfn-python-lint $ cfn-lint --update-specs # https://github.com/aws-cloudformation/cfn-python-lint/pull/1383#issuecomment-629891506 |
This is now documented here: https://github.com/aws-cloudformation/cfn-python-lint/blob/master/CONTRIBUTING.md#development-environment Resolving :) |
cfn-lint version:
cfn-lint 0.20.1
Description of issue.
In the Contributing via Pull Requests paragraph, it is stated that
However, neither in the CONTRIBUTING.md nor in the README.md document is it described how one can setup the cfn-lint development environment and execute these tests.
The text was updated successfully, but these errors were encountered: