Skip to content

Commit 5bdc45d

Browse files
authored
Only require tomli in old Python versions (#74)
This partly reverts d3620c6.
1 parent 01ecc40 commit 5bdc45d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
python-lsp-server
22
mypy >= 0.981
3-
tomli >= 1.1.0
3+
tomli >= 1.1.0 ; python_version < "3.11"
44
black
55
pre-commit
66
rstcheck

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ packages = find:
2222
install_requires =
2323
python-lsp-server >=1.7.0
2424
mypy >= 0.981
25-
tomli >= 1.1.0
25+
tomli >= 1.1.0 ; python_version < "3.11"
2626

2727
[flake8]
2828
max-complexity = 20

0 commit comments

Comments
 (0)