Azure / Azure/azure-cli-dev-tools

[linter] Linter help_rules.py should lint help objects and not help_entries.

Offen
#30 3 Kommentare 0 Reaktionen 1 zugewiesene Person Zugewiesen an @mmyyrroonn Auf GitHub ansehen
enhancement Linter
Vorherrschende Sprache
Python
Sterne
91
Forks
134
Ø Merge
2 Std. 51 Min.
Gemergte PRs (30 T.)
1

Beschreibung

[linter] Linter help_rules.py should lint help objects and not help_entries. We will soon [support](https://github.com/Azure/azure-cli/projects/8) help.yaml alongside help.py. Linter rules should be independent of help_entry type.

Secondly, linter should handle parsing incorrect datetime's or condition values. ie. monitor --start-time and --condition parameter. Should raise appropriate error.

Linter should also validate parameter values to the extent that this is possible / reasonable. E.g. enum values, true false, etc.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.