Skip to content

Commit a1fe811

Browse files
committed
create rulset file
1 parent de3a040 commit a1fe811

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ruleset.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ruleset name="Fortran Files in src Directory"
3+
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0
6+
http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
7+
<description>
8+
Ruleset to analyze only Fortran files within the src directory.
9+
</description>
10+
11+
<!-- Only run on Fortran files in src/ directory and Python files in toolchain/ directory -->
12+
<filepattern><MFC/>src/.*\.(f|fpp|for|f90|f95|f03|f08)$</filepattern>
13+
<filepattern><MFC/>toolchain/.*\.(py)$</filepattern>
14+
15+
</ruleset>

0 commit comments

Comments
 (0)