Skip to content

tools: add namespace_check_excluded_paths arg to formatter#7211

Merged
mattklein123 merged 2 commits intoenvoyproxy:masterfrom
rebello95:namespace_check_excluded_paths
Jun 8, 2019
Merged

tools: add namespace_check_excluded_paths arg to formatter#7211
mattklein123 merged 2 commits intoenvoyproxy:masterfrom
rebello95:namespace_check_excluded_paths

Conversation

@rebello95
Copy link
Copy Markdown
Contributor

@rebello95 rebello95 commented Jun 7, 2019

Adds a namespace_check_excluded_paths argument to the check_format.py script which allows for specifying file paths to ignore from the namespace check.

This is useful for running the formatter against a file or folder that doesn't require namespaces in order to avoid having to add NOLINT(namespace) to each file.

Signed-off-by: Michael Rebello mrebello@lyft.com

Risk Level: None
Testing: Tested locally

rebello95 added 2 commits June 7, 2019 15:27
Adds a `namespace_check_excluded_paths` argument to the `check_format.py` script which allows for specifying file paths to ignore from the namespace check.

This is useful for running the formatter against a file or folder that doesn't require namespaces in order to avoid having to add `NOLINT(namespace)` to each file.

Signed-off-by: Michael Rebello <mrebello@lyft.com>
Signed-off-by: Michael Rebello <mrebello@lyft.com>
rebello95 added a commit to envoyproxy/envoy-mobile that referenced this pull request Jun 7, 2019
`clang-format` can be used for auto-formatting Java files the same way it is for Objective-C and C++.

2 spaces were selected for spacing to maintain parity with upstream.

Depends on:
envoyproxy/envoy#7210
envoyproxy/envoy#7211

Signed-off-by: Michael Rebello <mrebello@lyft.com>
@lizan lizan requested a review from jmarantz June 8, 2019 06:12
Copy link
Copy Markdown
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.

Thanks!

@mattklein123 mattklein123 merged commit 2a59bb3 into envoyproxy:master Jun 8, 2019
@rebello95 rebello95 deleted the namespace_check_excluded_paths branch June 8, 2019 21:05
rebello95 added a commit to envoyproxy/envoy-mobile that referenced this pull request Jun 10, 2019
`clang-format` can be used for auto-formatting Java files the same way it is for Objective-C and C++.

2 spaces were selected for spacing to maintain parity with upstream.

Depends on:
envoyproxy/envoy#7210
envoyproxy/envoy#7211

Signed-off-by: Michael Rebello <mrebello@lyft.com>
rebello95 added a commit to envoyproxy/envoy-mobile that referenced this pull request Jun 10, 2019
`clang-format` can be used for auto-formatting Java files the same way it is for Objective-C and C++.

2 spaces were selected for spacing to maintain parity with upstream.

Depends on:
envoyproxy/envoy#7210
envoyproxy/envoy#7211

Signed-off-by: Michael Rebello <mrebello@lyft.com>

update envoy sha

Signed-off-by: Michael Rebello <mrebello@lyft.com>

reformat after rebasing

Signed-off-by: Michael Rebello <mrebello@lyft.com>
rebello95 added a commit to envoyproxy/envoy-mobile that referenced this pull request Jun 10, 2019
`clang-format` can be used for auto-formatting Java files the same way it is for Objective-C and C++.

2 spaces were selected for spacing to maintain parity with upstream.

Depends on:
envoyproxy/envoy#7210
envoyproxy/envoy#7211

#55

Signed-off-by: Michael Rebello <mrebello@lyft.com>
jpsim pushed a commit that referenced this pull request Nov 28, 2022
`clang-format` can be used for auto-formatting Java files the same way it is for Objective-C and C++.

2 spaces were selected for spacing to maintain parity with upstream.

Depends on:
#7210
#7211

envoyproxy/envoy-mobile#55

Signed-off-by: Michael Rebello <mrebello@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
`clang-format` can be used for auto-formatting Java files the same way it is for Objective-C and C++.

2 spaces were selected for spacing to maintain parity with upstream.

Depends on:
#7210
#7211

envoyproxy/envoy-mobile#55

Signed-off-by: Michael Rebello <mrebello@lyft.com>
Signed-off-by: JP Simard <jp@jpsim.com>
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