This is an automated email from the ASF dual-hosted git repository.
szetszwo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git
The following commit(s) were added to refs/heads/master by this push:
new 8c7c444ca RATIS-2081. Comment that we skip checkstyle on test
directory on purpose (#1084)
8c7c444ca is described below
commit 8c7c444ca2453831bbaf1e5a5f4cb7ba76b232ff
Author: Symious <[email protected]>
AuthorDate: Fri May 17 11:11:26 2024 +0800
RATIS-2081. Comment that we skip checkstyle on test directory on purpose
(#1084)
---
pom.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pom.xml b/pom.xml
index f8249e0ac..8292a85e7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -786,6 +786,8 @@
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven-checkstyle-plugin.version}</version>
<configuration>
+ <!-- We decide not to check style on test directory to focus more on
code than format. -->
+ <!--includeTestSourceDirectory>true</includeTestSourceDirectory-->
<configLocation>dev-support/checkstyle.xml</configLocation>
<failOnViolation>true</failOnViolation>
<linkXRef>false</linkXRef>