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

Add a linter for manifest file #1722

Open
2 of 4 tasks
cbeauchesne opened this issue Oct 23, 2023 · 2 comments
Open
2 of 4 tasks

Add a linter for manifest file #1722

cbeauchesne opened this issue Oct 23, 2023 · 2 comments
Labels
dev-x Improve developer experience

Comments

@cbeauchesne
Copy link
Collaborator

cbeauchesne commented Oct 23, 2023

  1. check if entries are sorted in test_the_test (can be removed if 3. is done)
  2. check for items existence in test_the_test
  3. automatically sort entries in format.sh if the option --check is not set. Fail otherwise if the file would have been sorted
  4. format file in format.sh if the option --check is not set. Fail otherwise if the file would have been reformatted
@dmehala
Copy link
Contributor

dmehala commented Feb 12, 2025

@cbeauchesne just to be sure, what's the difference between automatically sorting entries and format file?

@cbeauchesne
Copy link
Collaborator Author

Format is about using tab/space, size of tabulation, using quotes/double quotes ...
Sort is only the fact that list items and dicts keys are sorted.

Both could be seen as "formatting", but they will probably be addressed by different tools. Though, if a tool can do both, that's perfect.

@bm1549 bm1549 mentioned this issue Feb 12, 2025
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-x Improve developer experience
Projects
None yet
Development

No branches or pull requests

2 participants