Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dump dependencies #114

Merged
merged 2 commits into from
Jun 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .black.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[tool.black]
include = '\.pyi?$'
line-length = 141
target-version = ['py27']
target-version = ['py36']
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

golang_version: [1.16.4]
java_version: ['15', '16']
python_version: [3.6, 3.7, 3.8, 3.9]
python_version: ['3.6', '3.7', '3.8', '3.9', '3.10']
rust_version: [stable]

env:
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: '3.10'
- name: Install Python dependencies
run: pip install tox
- name: Run Tox
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bump_external_releases.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
import json
import subprocess # nosec: disable=B603
import subprocess # nosec B404 B603
import sys
import traceback
from pathlib import Path
Expand Down
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
default_language_version:
python: python3.9
python: python3.10

repos:
- repo: https://github.com/pre-commit/pre-commit
rev: v2.14.0
rev: v2.19.0
hooks:
- id: validate_manifest
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.3.0
hooks:
- id: check-added-large-files
- id: check-docstring-first
Expand All @@ -27,7 +27,7 @@ repos:
exclude: ^test-data/.*$
- id: fix-encoding-pragma
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.6.0
rev: v3.1.0
hooks:
- id: reorder-python-imports
args:
Expand All @@ -38,14 +38,14 @@ repos:
- --remove-import
- from __future__ import unicode_literals
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.1.0
rev: v2.3.0
hooks:
- id: pretty-format-yaml
exclude: ^test-data/.*$
args:
- --autofix
- repo: https://github.com/ambv/black
rev: 21.7b0
rev: 22.6.0
hooks:
- id: black
args: [--config, .black.toml]
Expand All @@ -54,15 +54,15 @@ repos:
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910
rev: v0.961
hooks:
- id: mypy
exclude: ^(\.github/workflows/bump_external_releases\.py)$
additional_dependencies:
- types-requests
- types-setuptools
- repo: https://github.com/PyCQA/bandit
rev: 1.7.0
rev: 1.7.4
hooks:
- id: bandit
exclude: ^tests/.*\.py$
2 changes: 1 addition & 1 deletion language_formatters_pre_commit_hooks/utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
import os
import shutil
import subprocess # nosec: disable=B603
import subprocess # nosec B404 B603
import sys
import tempfile
import typing
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ commands =
coverage report

[testenv:pre-commit]
basepython = python3.9
basepython = python3.10
setenv =
SKIP=mypy
commands =
Expand Down