Skip to content

Commit

Permalink
Merge pull request #191 from google/tidy
Browse files Browse the repository at this point in the history
Small fixes
  • Loading branch information
jaqx0r authored May 28, 2023
2 parents 14a5507 + 7a54b02 commit 0981059
Show file tree
Hide file tree
Showing 61 changed files with 4,474 additions and 4,065 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ jobs:
with:
name: test-results
path: test-results/
- name: yapf
run: |
pip install yapf
yapf --diff --recursive nss_cache nsscache
- name: pylint
run: |
pip install pylint
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: lint

on:
push:
tags:
- v*
branches:
- main
pull_request:

permissions:
# none-all, which doesn't exist, but
# https://docs.github.com/en/actions/reference/authentication-in-a-workflow#using-the-github_token-in-a-workflow
# implies that the token still gets created. Elsewhere we learn that any
# permission not mentioned here gets turned to `none`.
actions: none

jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
with:
version: "~= 22.0"
Loading

0 comments on commit 0981059

Please sign in to comment.