Lint on GitHub Actions (#196)
- Lint with pre-commit on GitHub Actions, - Add some handy pre-hooks, - Configure Ruff lint rules (https://github.com/astral-sh/ruff). --------- Co-authored-by: Marc Wrobel <marc.wrobel@gmail.com>
This commit is contained in:
committed by
GitHub
parent
0d17306872
commit
8870ab5e28
@@ -36,7 +36,7 @@ query($endCursor: String) {
|
||||
}
|
||||
}
|
||||
}' --jq '.data.repository.releases.edges.[].node | select(.isPrerelease == false) | [.name, .publishedAt] | join(",")'
|
||||
""" % (repo, owner)
|
||||
""" % (repo, owner) # noqa: UP031
|
||||
|
||||
child = subprocess.Popen(query, shell=True, stdout=subprocess.PIPE)
|
||||
return child.communicate()[0].decode('utf-8')
|
||||
|
||||
Reference in New Issue
Block a user