chore(ci): add Python to Spotless

This commit is contained in:
Harsh Shandilya 2023-08-02 01:30:10 +05:30
parent bae671ad23
commit 432a438815
No known key found for this signature in database
3 changed files with 23 additions and 5 deletions

View file

@ -35,6 +35,10 @@ class SpotlessPlugin : Plugin<Project> {
targetExclude("**/build/")
licenseHeaderFile(project.file("spotless/license.kt"), "import|plugins|@file")
}
python {
target("scripts/**.py")
black("23.3.0")
}
format("xml") {
target("**/*.xml")
targetExclude("**/build/", ".idea/", "/spotless/", "**/lint-baseline.xml")