File tree Expand file tree Collapse file tree 4 files changed +50
-12
lines changed Expand file tree Collapse file tree 4 files changed +50
-12
lines changed Original file line number Diff line number Diff line change
1
+ exclude : ^(docs|.*test_files|cmd_line|tasks.py)
2
+
3
+ ci :
4
+ autoupdate_schedule : monthly
5
+ skip : [mypy]
6
+ autofix_commit_msg : pre-commit auto-fixes
7
+ autoupdate_commit_msg : pre-commit autoupdate
8
+
9
+ repos :
10
+ - repo : https://github.com/astral-sh/ruff-pre-commit
11
+ rev : v0.0.278
12
+ hooks :
13
+ - id : ruff
14
+ args : [--fix]
15
+
16
+ - repo : https://github.com/pre-commit/pre-commit-hooks
17
+ rev : v4.4.0
18
+ hooks :
19
+ - id : check-yaml
20
+ exclude : pymatgen/analysis/vesta_cutoffs.yaml
21
+ - id : end-of-file-fixer
22
+ - id : trailing-whitespace
23
+
24
+ - repo : https://github.com/psf/black
25
+ rev : 23.7.0
26
+ hooks :
27
+ - id : black
28
+
29
+ - repo : https://github.com/pre-commit/mirrors-mypy
30
+ rev : v1.4.1
31
+ hooks :
32
+ - id : mypy
33
+
34
+ - repo : https://github.com/codespell-project/codespell
35
+ rev : v2.2.5
36
+ hooks :
37
+ - id : codespell
38
+ stages : [commit, commit-msg]
39
+ exclude_types : [html]
40
+ additional_dependencies : [tomli] # needed to read pyproject.toml below py3.11
41
+
42
+ - repo : https://github.com/MarcoGorelli/cython-lint
43
+ rev : v0.15.0
44
+ hooks :
45
+ - id : cython-lint
46
+ args : [--no-pycodestyle]
47
+ - id : double-quote-cython-strings
Original file line number Diff line number Diff line change 1
- """
2
- Root init file.
3
- """
1
+ """Root init file."""
Original file line number Diff line number Diff line change 2
2
3
3
from __future__ import annotations
4
4
5
- import platform
6
- import sys
7
-
8
- import numpy as np
9
- from setuptools import Extension , find_namespace_packages , setup
10
-
5
+ from setuptools import find_namespace_packages , setup
11
6
12
7
with open ("README.md" ) as file :
13
8
long_description = file .read ()
Original file line number Diff line number Diff line change 1
- """
2
- Test fixtures for unittests.
3
- """
1
+ """Test fixtures for unittests."""
You can’t perform that action at this time.
0 commit comments