Skip to content

Commit 84431c5

Browse files
authored
Merge branch 'openstack:master' into master
2 parents e2a93ad + fed1230 commit 84431c5

File tree

1,282 files changed

+59699
-39328
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,282 files changed

+59699
-39328
lines changed

.coveragerc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
branch = True
33
source = nova
44
omit = nova/tests/*
5+
concurrency = eventlet
56

67
[report]
78
ignore_errors = True

.git-blame-ignore-revs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# ignore codespell series
2+
f4852f4c81a6594dfd56eb18503648b3f449dcd4
3+
2232ca95f22478bc90da5cb2d99cb0a4570fbc96
4+
25fd9effd2e12a29643c6e7b5b5e2f5630ff3338
5+
6314f09ed4574ca9d03a726c0cfd1d7108b1a12c
6+
320c6fadde751e8de05e98416738a91b89c24de8
7+
7402822f0bcc810eda6a2a55a9cc8fe778318557

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,9 @@ tools/conf/nova.conf*
4949
doc/source/_static/nova.conf.sample
5050
doc/source/_static/nova.policy.yaml.sample
5151

52-
# Files created by releasenotes build
52+
# Files created by releasenotes build
5353
releasenotes/build
54+
55+
# Files created by alembic
56+
/nova.db
57+
/nova_api.db

.pre-commit-config.yaml

Lines changed: 52 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ default_language_version:
44
python: python3
55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v2.4.0
7+
rev: v4.5.0
88
hooks:
99
- id: trailing-whitespace
1010
- id: mixed-line-ending
@@ -16,20 +16,62 @@ repos:
1616
- id: debug-statements
1717
# nova/cmd/manage.py imports pdb on purpose.
1818
exclude: 'nova/cmd/manage.py'
19+
- id: check-json
20+
files: .*\.json$
1921
- id: check-yaml
2022
files: .*\.(yaml|yml)$
2123
- repo: https://github.com/Lucas-C/pre-commit-hooks
22-
rev: v1.1.7
24+
rev: v1.5.4
2325
hooks:
2426
- id: remove-tabs
2527
exclude: '.*\.(svg)$'
26-
- repo: local
28+
- repo: https://opendev.org/openstack/hacking
29+
rev: 6.1.0
2730
hooks:
28-
- id: flake8
29-
name: flake8
30-
additional_dependencies:
31-
- hacking>=2.0,<3.0
32-
language: python
33-
entry: flake8
34-
files: '^.*\.py$'
31+
- id: hacking
32+
additional_dependencies: []
3533
exclude: '^(doc|releasenotes|tools)/.*$'
34+
- repo: https://github.com/pre-commit/mirrors-autopep8
35+
rev: v2.0.4
36+
hooks:
37+
- id: autopep8
38+
files: '^.*\.py$'
39+
- repo: https://github.com/codespell-project/codespell
40+
rev: v2.2.6
41+
hooks:
42+
- id: codespell
43+
args: ['--ignore-words=doc/dictionary.txt']
44+
- repo: https://github.com/pre-commit/mirrors-mypy
45+
rev: v1.7.1
46+
hooks:
47+
- id: mypy
48+
additional_dependencies:
49+
- types-paramiko
50+
# keep this in-sync with '[mypy] files' in 'setup.cfg'
51+
files: |
52+
(?x)(
53+
nova/compute/manager.py
54+
| nova/compute/pci_placement_translator.py
55+
| nova/crypto.py
56+
| nova/filesystem.py
57+
| nova/limit/local.py
58+
| nova/limit/placement.py
59+
| nova/network/neutron.py
60+
| nova/pci
61+
| nova/privsep/path.py
62+
| nova/scheduler/client/report.py
63+
| nova/scheduler/request_filter.py
64+
| nova/scheduler/utils.py
65+
| nova/virt/driver.py
66+
| nova/virt/hardware.py
67+
| nova/virt/libvirt/machine_type_utils.py
68+
| nova/virt/libvirt/__init__.py
69+
| nova/virt/libvirt/cpu/__init__.py
70+
| nova/virt/libvirt/cpu/api.py
71+
| nova/virt/libvirt/cpu/core.py
72+
| nova/virt/libvirt/driver.py
73+
| nova/virt/libvirt/event.py
74+
| nova/virt/libvirt/guest.py
75+
| nova/virt/libvirt/host.py
76+
| nova/virt/libvirt/utils.py
77+
)

0 commit comments

Comments
 (0)