File tree Expand file tree Collapse file tree 4 files changed +10
-35
lines changed Expand file tree Collapse file tree 4 files changed +10
-35
lines changed Original file line number Diff line number Diff line change @@ -52,33 +52,12 @@ jobs:
52
52
docker exec --tty --user aiida $DOCKERID /bin/bash -l -c 'cd /home/aiida/aiida-cp2k/ && py.test --cov aiida_cp2k --cov-append .'
53
53
54
54
55
- pre-commit :
56
- runs-on : ubuntu-latest
57
- timeout-minutes : 10
58
- strategy :
59
- matrix :
60
- python-version : [3.8]
61
- steps :
62
- - uses : actions/checkout@v2
63
- - name : Set up Python ${{ matrix.python-version }}
64
- uses : actions/setup-python@v2
65
- with :
66
- python-version : ${{ matrix.python-version }}
67
- - name : Install python dependencies
68
- run : |
69
- pip install --upgrade pip
70
- pip install -e .[dev,docs]
71
- - name : Run pre-commit
72
- run : |
73
- pre-commit install
74
- pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )
75
-
76
55
docs :
77
56
runs-on : ubuntu-latest
78
57
timeout-minutes : 10
79
58
strategy :
80
59
matrix :
81
- python-version : [3.8 ]
60
+ python-version : [3.11 ]
82
61
steps :
83
62
- uses : actions/checkout@v2
84
63
- name : Set up Python ${{ matrix.python-version }}
Original file line number Diff line number Diff line change 4
4
5
5
repos :
6
6
- repo : https://github.com/pre-commit/pre-commit-hooks
7
- rev : v4.4 .0
7
+ rev : v4.5 .0
8
8
hooks :
9
9
10
10
- id : check-json
19
19
exclude : *exclude_pre_commit_hooks
20
20
21
21
- repo : https://github.com/psf/black
22
- rev : 23.9 .1
22
+ rev : 23.12 .1
23
23
hooks :
24
24
- id : black
25
25
language_version : python3 # Should be a command that runs python3.6+
@@ -32,19 +32,19 @@ repos:
32
32
args : [--count, --show-source, --statistics]
33
33
34
34
- repo : https://github.com/pycqa/isort
35
- rev : 5.12.0
35
+ rev : 5.13.2
36
36
hooks :
37
37
- id : isort
38
38
args : [--profile, black, --filter-files]
39
39
40
40
- repo : https://github.com/asottile/pyupgrade
41
- rev : v3.14 .0
41
+ rev : v3.15 .0
42
42
hooks :
43
43
- id : pyupgrade
44
44
args : [--py37-plus]
45
45
46
46
- repo : https://github.com/pre-commit/mirrors-mypy
47
- rev : v1.5.1
47
+ rev : v1.8.0
48
48
hooks :
49
49
- id : mypy
50
50
additional_dependencies :
Original file line number Diff line number Diff line change 15
15
import time
16
16
from typing import Dict
17
17
18
- from aiida .manage .configuration import load_documentation_profile
18
+ from aiida .manage .configuration import Profile , load_profile
19
19
20
- # -- AiiDA-related setup --------------------------------------------------
21
-
22
- # Load the dummy profile even if we are running locally, this way the documentation will succeed even if the current
23
- # default profile of the AiiDA installation does not use a Django backend.
24
- load_documentation_profile ()
20
+ load_profile (Profile ("docs" , {"process_control" : {}, "storage" : {}}))
25
21
26
22
# If we are not on READTHEDOCS load the Sphinx theme manually
27
23
if not os .environ .get ("READTHEDOCS" , None ):
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ classifiers = [
18
18
" Operating System :: MacOS :: MacOS X" ,
19
19
" Programming Language :: Python :: 3" ,
20
20
]
21
- requires-python = " >=3.8 "
21
+ requires-python = " >=3.9 "
22
22
dependencies = [
23
23
" aiida-core>=2.0.0,<3.0.0" ,
24
24
" aiida-gaussian-datatypes" ,
@@ -40,7 +40,7 @@ dev = [
40
40
" pytest~=6.0" ,
41
41
" pytest-cov~=2.11.1" ,
42
42
" coverage" ,
43
- " pre-commit~=2.19 " ,
43
+ " pre-commit~=3.6 " ,
44
44
]
45
45
docs = [
46
46
" sphinx" ,
You can’t perform that action at this time.
0 commit comments