Skip to content

Commit ef592eb

Browse files
committed
More administrivia
Go over precommit configuration Remove anachronistic python3 -> python Note 3.10 category in packaging
1 parent 3b68da8 commit ef592eb

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
1+
default_language_version:
2+
python: python
13
repos:
24
- repo: https://github.com/pre-commit/pre-commit-hooks
35
rev: v4.0.1
46
hooks:
7+
- id: check-merge-conflict
58
- id: check-yaml
69
- id: debug-statements
10+
stages: [commit]
711
- id: end-of-file-fixer
12+
stages: [commit]
813
- id: trailing-whitespace
914
- id: check-json
1015
exclude: mathics_scanner/data/characters.json
1116
- repo: https://github.com/psf/black
1217
rev: 22.3.0
1318
hooks:
1419
- id: black
15-
language_version: python3
20+
language_version: python
21+
stages: [commit]
1622
exclude: version.py

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# remake --tasks to shows the targets and the comments
66

77
GIT2CL ?= admin-tools/git2cl
8-
PYTHON ?= python3
8+
PYTHON ?= python
99
PIP ?= pip3
1010
RM ?= rm
1111

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ def subdirs(root, file="*.*", depth=10):
117117
"Programming Language :: Python :: 3.7",
118118
"Programming Language :: Python :: 3.8",
119119
"Programming Language :: Python :: 3.9",
120+
"Programming Language :: Python :: 3.10",
120121
"Programming Language :: Python :: Implementation :: CPython",
121122
"Programming Language :: Python :: Implementation :: PyPy",
122123
"Topic :: Scientific/Engineering",

0 commit comments

Comments
 (0)