Skip to content

Commit 16571f5

Browse files
authored
Merge pull request #44 from iterative/cruft-update
2 parents be16d3b + 66d8ba7 commit 16571f5

File tree

6 files changed

+24
-18
lines changed

6 files changed

+24
-18
lines changed

.cruft.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/iterative/py-template",
3-
"commit": "7e84a4db09bcce97c8c206eb644c409f8ed7b565",
3+
"commit": "84a385c99003c39632dfe985bf0ca4ed08235f36",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -15,7 +15,7 @@
1515
"license": "Apache-2.0",
1616
"docs": "False",
1717
"short_description": "Common library for sending telemetry",
18-
"development_status": "Development Status :: 1 - Planning",
18+
"development_status": "Development Status :: 4 - Beta",
1919
"_template": "https://github.com/iterative/py-template"
2020
}
2121
},

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
matrix:
2323
os: [ubuntu-20.04, windows-latest, macos-latest]
2424
pyv: ['3.8', '3.9', '3.10']
25+
include:
26+
- {os: ubuntu-latest, pyv: 'pypy3.8'}
27+
- {os: ubuntu-latest, pyv: '3.11.0-rc - 3.11', nox_pyv: '3.11'}
2528

2629
steps:
2730
- name: Check out the repository
@@ -41,10 +44,11 @@ jobs:
4144
nox --version
4245
4346
- name: Lint code and check dependencies
47+
continue-on-error: ${{ matrix.nox_pyv == '3.11' }}
4448
run: nox -s lint safety
4549

4650
- name: Run tests
47-
run: nox -s tests-${{ matrix.pyv }} -- --cov-report=xml
51+
run: nox -s tests-${{ matrix.nox_pyv || matrix.pyv }} -- --cov-report=xml
4852

4953
- name: Upload coverage report
5054
uses: codecov/[email protected]

.pre-commit-config.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,45 +2,45 @@ default_language_version:
22
python: python3
33
repos:
44
- repo: https://github.com/psf/black
5-
rev: 22.3.0
5+
rev: 22.6.0
66
hooks:
77
- id: black
88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v4.0.1
9+
rev: v4.3.0
1010
hooks:
1111
- id: check-added-large-files
1212
- id: check-case-conflict
1313
- id: check-docstring-first
1414
- id: check-executables-have-shebangs
15-
- id: check-toml
15+
- id: check-json
1616
- id: check-merge-conflict
17+
- id: check-toml
1718
- id: check-yaml
1819
- id: debug-statements
1920
- id: end-of-file-fixer
2021
- id: mixed-line-ending
22+
args: ['--fix=lf']
2123
- id: sort-simple-yaml
2224
- id: trailing-whitespace
2325
- repo: https://github.com/codespell-project/codespell
24-
rev: v2.1.0
26+
rev: v2.2.1
2527
hooks:
2628
- id: codespell
2729
- repo: https://github.com/asottile/pyupgrade
28-
rev: v2.31.0
30+
rev: v2.37.3
2931
hooks:
3032
- id: pyupgrade
3133
- repo: https://github.com/PyCQA/isort
3234
rev: 5.10.1
3335
hooks:
3436
- id: isort
35-
- repo: https://github.com/pycqa/flake8
36-
rev: 4.0.1
37+
- repo: https://gitlab.com/pycqa/flake8
38+
rev: 5.0.4
3739
hooks:
3840
- id: flake8
3941
additional_dependencies:
40-
- flake8-bandit
41-
- flake8-broken-line
42-
- flake8-bugbear
43-
- flake8-comprehensions
44-
- flake8-debugger
45-
- flake8-string-format
46-
- bandit<1.7.3
42+
- flake8-broken-line==0.5.0
43+
- flake8-bugbear==22.8.23
44+
- flake8-comprehensions==3.10.0
45+
- flake8-debugger==4.1.2
46+
- flake8-string-format==0.3.0

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
locations = "src", "tests"
1010

1111

12-
@nox.session(python=["3.8", "3.9", "3.10"])
12+
@nox.session(python=["3.8", "3.9", "3.10", "3.11", "pypy3.8", "pypy3.9"])
1313
def tests(session: nox.Session) -> None:
1414
session.install(".[tests]")
1515
session.run(

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ classifiers =
1414
Programming Language :: Python :: 3.8
1515
Programming Language :: Python :: 3.9
1616
Programming Language :: Python :: 3.10
17+
Programming Language :: Python :: 3.11
1718
Development Status :: 4 - Beta
1819

1920
[options]

0 commit comments

Comments
 (0)