Skip to content

Commit

Permalink
Various Improvements for lint.pl
Browse files Browse the repository at this point in the history
- Control lint.pl via comments in file and .lint_config files
- Get rid of almost all hardcoded paths in lint.pl and use .lint_config
  files instead.
- Option to process specific files instead of all in OpenDDS
- Renamed checks to be consistent
- Added path_has_whitespace check
- Make it possible to run without defining DDS_ROOT or ACE_ROOT.
  • Loading branch information
iguessthislldo committed Nov 17, 2020
1 parent 1b7e473 commit a90286b
Show file tree
Hide file tree
Showing 10 changed files with 271 additions and 77 deletions.
3 changes: 3 additions & 0 deletions .lint_config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ignore paths .git .gitmodules
ignore paths tests/googletest tools/rapidjson
ignore paths ACE_wrappers ACE_TAO
1 change: 1 addition & 0 deletions java/jms/.lint_config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore path .
1 change: 1 addition & 0 deletions performance-tests/Bench/.lint_config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore path .
1 change: 1 addition & 0 deletions tests/DCPS/Crossplatform/.lint_config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore check tabs path test_list.txt
1 change: 1 addition & 0 deletions tests/security/attributes/governance/.lint_config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore path .
1 change: 1 addition & 0 deletions tests/security/attributes/permissions/.lint_config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore path .
1 change: 1 addition & 0 deletions tests/security/certs/identity/.lint_config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore check tabs path index.txt
1 change: 1 addition & 0 deletions tests/security/certs/permissions/.lint_config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore check is_empty path index.txt
1 change: 1 addition & 0 deletions tools/modeling/.lint_config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore path .
Loading

0 comments on commit a90286b

Please sign in to comment.