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

update uncrustify config to reflect google code style #1

Merged
merged 1 commit into from
Jul 7, 2014

Conversation

dirk-thomas
Copy link
Contributor

I have updated the uncrustify configuration with the code style from the Google document (http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml).

@ament/owners Please consider trying it with some C++ code and if necessary commit patches to / provide pull request for this branch. You can either run ament_uncrustify to see the actual diff or use the option --reformat to update the files (which are hopefully under version control) in place.

@dirk-thomas
Copy link
Contributor Author

I will merge this for now since there was no feedback. Any future feedback can be incorporated into the cfg file as we go.

dirk-thomas added a commit that referenced this pull request Jul 7, 2014
update uncrustify config to reflect google code style
@dirk-thomas dirk-thomas merged commit 4c0d0e8 into master Jul 7, 2014
@dirk-thomas dirk-thomas deleted the uncrustify_google branch July 7, 2014 21:18
dhood added a commit that referenced this pull request Feb 1, 2017
* Add flake8 linter

* Don't deal with flake8-import-order just yet

* Debugging prints

* Reinstate import order rule

* Fix reporting bug by using the inner flake8 style guide

* Fixup

* Add comment on wrapper StyleGuide use

* use flake8 v3 (#1)

* Reorder package.xml

* Get the filenames from the file checkers because input_file isn't called by flake8 anymore

* Output count of all error types

* Get flake8 to use the config file

The current implementation of get_style_guide does not process the config file correctly.

* Error when flake8 v2 found

* Print errors like pep8

* remove __future__ imports

* add schema to manifest files

* Support flake8 v2 as well as v3

* Output checked files

otherwise it's not present in xunit files for tests run directly with nose (not ament_cmake_flake8)

* Prevent v2 imports from happening on systems with v3

* Flake8 replaces pep8+pyflakes
kenji-miyake referenced this pull request in kenji-miyake/ament_lint Oct 20, 2021
* Add flake8 linter

* Don't deal with flake8-import-order just yet

* Debugging prints

* Reinstate import order rule

* Fix reporting bug by using the inner flake8 style guide

* Fixup

* Add comment on wrapper StyleGuide use

* use flake8 v3 (#1)

* Reorder package.xml

* Get the filenames from the file checkers because input_file isn't called by flake8 anymore

* Output count of all error types

* Get flake8 to use the config file

The current implementation of get_style_guide does not process the config file correctly.

* Error when flake8 v2 found

* Print errors like pep8

* remove __future__ imports

* add schema to manifest files

* Support flake8 v2 as well as v3

* Output checked files

otherwise it's not present in xunit files for tests run directly with nose (not ament_cmake_flake8)

* Prevent v2 imports from happening on systems with v3

* Flake8 replaces pep8+pyflakes
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.

1 participant