@@ -5,47 +5,47 @@ build-backend = "setuptools.build_meta"
55[project ]
66name = " mp-api"
77authors = [
8- { name = " The Materials Project" , email = " feedback@materialsproject.org" },
8+ { name = " The Materials Project" , email = " feedback@materialsproject.org" },
99]
1010description = " API Client for the Materials Project"
1111readme = " README.md"
1212requires-python = " >=3.9"
1313license = { text = " modified BSD" }
1414classifiers = [
15- " Programming Language :: Python :: 3" ,
16- " Development Status :: 4 - Beta" ,
17- " Intended Audience :: Science/Research" ,
18- " Intended Audience :: Information Technology" ,
19- " Operating System :: OS Independent" ,
20- " Topic :: Scientific/Engineering" ,
15+ " Programming Language :: Python :: 3" ,
16+ " Development Status :: 4 - Beta" ,
17+ " Intended Audience :: Science/Research" ,
18+ " Intended Audience :: Information Technology" ,
19+ " Operating System :: OS Independent" ,
20+ " Topic :: Scientific/Engineering" ,
2121]
2222dependencies = [
23- " setuptools" ,
24- " msgpack" ,
25- " maggma>=0.57.1" ,
26- " pymatgen>=2022.3.7" ,
27- " typing-extensions>=3.7.4.1" ,
28- " requests>=2.23.0" ,
29- " monty>=2023.9.25" ,
30- " emmet-core>=0.78.0rc3" ,
23+ " setuptools" ,
24+ " msgpack" ,
25+ " maggma>=0.57.1" ,
26+ " pymatgen>=2022.3.7,<2024.2.20 " ,
27+ " typing-extensions>=3.7.4.1" ,
28+ " requests>=2.23.0" ,
29+ " monty>=2023.9.25" ,
30+ " emmet-core>=0.78.0rc3" ,
3131]
3232dynamic = [" version" ]
3333
3434[project .optional-dependencies ]
3535all = [" emmet-core[all]>=0.69.1" , " custodian" , " mpcontribs-client" , " boto3" ]
3636test = [
37- " pre-commit" ,
38- " pytest" ,
39- " pytest-asyncio" ,
40- " pytest-cov" ,
41- " pytest-mock" ,
42- " flake8" ,
43- " pycodestyle" ,
44- " mypy" ,
45- " mypy-extensions" ,
46- " typing-extensions" ,
47- " types-pkg_resources" ,
48- " types-requests" ,
37+ " pre-commit" ,
38+ " pytest" ,
39+ " pytest-asyncio" ,
40+ " pytest-cov" ,
41+ " pytest-mock" ,
42+ " flake8" ,
43+ " pycodestyle" ,
44+ " mypy" ,
45+ " mypy-extensions" ,
46+ " typing-extensions" ,
47+ " types-pkg_resources" ,
48+ " types-requests" ,
4949]
5050
5151[tool .setuptools .packages .find ]
@@ -65,36 +65,36 @@ testpaths = ["tests"]
6565[tool .ruff ]
6666target-version = " py38"
6767select = [
68- " B" , # flake8-bugbear
69- " D" , # pydocstyle
70- " E" , # pycodestyle
71- " F" , # pyflakes
72- " I" , # isort
73- " PLE" , # pylint error
74- " PLW" , # pylint warning
75- " PYI" , # flakes8-pyi
76- " Q" , # flake8-quotes
77- " SIM" , # flake8-simplify
78- " TID" , # tidy imports
79- " UP" , # pyupgrade
80- " W" , # pycodestyle
81- " YTT" , # flake8-2020
68+ " B" , # flake8-bugbear
69+ " D" , # pydocstyle
70+ " E" , # pycodestyle
71+ " F" , # pyflakes
72+ " I" , # isort
73+ " PLE" , # pylint error
74+ " PLW" , # pylint warning
75+ " PYI" , # flakes8-pyi
76+ " Q" , # flake8-quotes
77+ " SIM" , # flake8-simplify
78+ " TID" , # tidy imports
79+ " UP" , # pyupgrade
80+ " W" , # pycodestyle
81+ " YTT" , # flake8-2020
8282]
8383ignore = [
84- " B019" , # Use of functools.lru_cache or functools.cache on methods can lead to memory leaks
85- " B028" , # No explicit stacklevel keyword argument found
86- " B904" , # Within an except clause, raise exceptions with raise ... from err
87- " D100" , # Missing docstring in public module
88- " D104" , # Missing docstring in public package
89- " D101" , # Missing docstring in public class
90- " D102" , # Missing docstring in public method
91- " D105" , # Missing docstring in magic method
92- " D106" , # Missing docstring in public nested class
93- " D205" , # 1 blank line required between summary line and description
94- " PLW2901" , # Outer for loop variable overwritten by inner assignment target
95- " SIM105" , # Use contextlib.suppress(FileNotFoundError) instead of try-except-pass
96- " SIM115" , # Use context handler for opening files,
97- " E501" ,
84+ " B019" , # Use of functools.lru_cache or functools.cache on methods can lead to memory leaks
85+ " B028" , # No explicit stacklevel keyword argument found
86+ " B904" , # Within an except clause, raise exceptions with raise ... from err
87+ " D100" , # Missing docstring in public module
88+ " D104" , # Missing docstring in public package
89+ " D101" , # Missing docstring in public class
90+ " D102" , # Missing docstring in public method
91+ " D105" , # Missing docstring in magic method
92+ " D106" , # Missing docstring in public nested class
93+ " D205" , # 1 blank line required between summary line and description
94+ " PLW2901" , # Outer for loop variable overwritten by inner assignment target
95+ " SIM105" , # Use contextlib.suppress(FileNotFoundError) instead of try-except-pass
96+ " SIM115" , # Use context handler for opening files,
97+ " E501" ,
9898]
9999exclude = [" docs" , " .ruff_cache" , " requirements" , " test*" , " settings.py" ]
100100pydocstyle.convention = " google"
0 commit comments