Skip to content

build: add pedantic spell check to build#5779

Merged
mattklein123 merged 10 commits intoenvoyproxy:masterfrom
zuercher:zuercher/automate-spell-check
Feb 1, 2019
Merged

build: add pedantic spell check to build#5779
mattklein123 merged 10 commits intoenvoyproxy:masterfrom
zuercher:zuercher/automate-spell-check

Conversation

@zuercher
Copy link
Member

@zuercher zuercher commented Jan 30, 2019

Adds support for fixing errors via the pedantic spell checker.
Runs pedantic comment spelling checking during builds.
Adds the location where python deps are installed during
do_ci.sh (to avoid spurious format check errors).

Risk Level: low
Testing: checks comment spelling
Docs Changes: n/a
Release Notes: n/a

Signed-off-by: Stephan Zuercher zuercher@gmail.com

Adds support for fixing errors via the pedantic spell checker.
Runs pedantic comment spelling checking during builds.
Adds the location where python deps are installed during
do_ci.sh (to avoid spurrious format check errors).

*Risk Level*: low
*Testing*: checks comment spelling
*Docs Changes*: n/a
*Release Notes*: n/a

Signed-off-by: Stephan Zuercher <zuercher@gmail.com>
@zuercher
Copy link
Member Author

BTW, I expect this to fail the format check because new typos have been introduced since yesterday. I'll fix them once I see the expected failure.

Signed-off-by: Stephan Zuercher <zuercher@gmail.com>
Signed-off-by: Stephan Zuercher <zuercher@gmail.com>
Signed-off-by: Stephan Zuercher <zuercher@gmail.com>
Signed-off-by: Stephan Zuercher <zuercher@gmail.com>
@zuercher
Copy link
Member Author

Seems to be working. This is ready for review.

@zuercher
Copy link
Member Author

/retest

@repokitteh-read-only
Copy link

🔨 rebuilding ci/circleci: compile_time_options (failed build)
🔨 rebuilding ci/circleci: mac (failed build)

🐱

Caused by: a #5779 (comment) was created by @zuercher.

see: more, trace.

Copy link
Member

@venilnoronha venilnoronha left a comment

Choose a reason for hiding this comment

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

This is very useful, thanks!

I've left a few nits. One other nit is about comments in check_spelling_pedantic.py i.e. some start with an uppercase letter while others don't, and similarly an inconsistency in the usage of periods.

Signed-off-by: Stephan Zuercher <zuercher@gmail.com>
@zuercher
Copy link
Member Author

zuercher commented Feb 1, 2019

/retest

@repokitteh-read-only
Copy link

🔨 rebuilding ci/circleci: asan (failed build)

🐱

Caused by: a #5779 (comment) was created by @zuercher.

see: more, trace.

Signed-off-by: Stephan Zuercher <zuercher@gmail.com>
venilnoronha
venilnoronha previously approved these changes Feb 1, 2019
Copy link
Member

@venilnoronha venilnoronha left a comment

Choose a reason for hiding this comment

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

Thanks for fixing!

Signed-off-by: Stephan Zuercher <zuercher@gmail.com>
Signed-off-by: Stephan Zuercher <zuercher@gmail.com>
Signed-off-by: Stephan Zuercher <zuercher@gmail.com>
@mattklein123 mattklein123 self-assigned this Feb 1, 2019
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Epic! Let's just merge and iterate if we run into issues.

@mattklein123 mattklein123 merged commit e443bcd into envoyproxy:master Feb 1, 2019
fredlas pushed a commit to fredlas/envoy that referenced this pull request Mar 5, 2019
Adds support for fixing errors via the pedantic spell checker.
Runs pedantic comment spelling checking during builds.
Adds the location where python deps are installed during
do_ci.sh (to avoid spurrious format check errors).

*Risk Level*: low
*Testing*: checks comment spelling
*Docs Changes*: n/a
*Release Notes*: n/a

Signed-off-by: Stephan Zuercher <zuercher@gmail.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
@zuercher zuercher deleted the zuercher/automate-spell-check branch November 7, 2019 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants