diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4f1207b..6114559 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,7 +25,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/rbubley/mirrors-prettier - rev: 39e2973981e6d2f9b6c543b0086a2d2393abdc89 # frozen: v3.9.4 + rev: ef4a397f916211b4a39ccf9d3d9cbb6562157251 # frozen: v3.9.9 hooks: - id: prettier types_or: [yaml, toml, markdown, css, scss, javascript, json] @@ -37,14 +37,14 @@ repos: - id: blacken-docs - repo: https://github.com/astral-sh/ruff-pre-commit - rev: c59bba8fb259db0fec2bbb77ad8ba51ea7341b56 # frozen: v0.15.20 + rev: f12be1ebaa5351c1fc76472de98db2c3446c8253 # frozen: v0.16.10 hooks: - id: ruff args: ["--fix", "--show-fixes"] - id: ruff-format - repo: https://github.com/codespell-project/codespell - rev: 2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a # frozen: v2.4.2 + rev: 57b21406f092110c18776e39b0bda50d37c945c8 # frozen: v2.4.3 hooks: - id: codespell args: ["-w"] diff --git a/sync-teams-to-gh.py b/sync-teams-to-gh.py index 72da470..a1b0dc2 100644 --- a/sync-teams-to-gh.py +++ b/sync-teams-to-gh.py @@ -2,15 +2,15 @@ Requires classic token with permissions "Repo" and "Admin" """ -import yaml -import requests import argparse -import os -import json import functools -import sys +import json +import os import re +import sys +import requests +import yaml api = "https://api.github.com"