Skip to content

Commit a5a4269

Browse files
authored
Merge pull request #7 from mpes-kit/tf2_fixup
Tensorflow Version2 migration
2 parents 45f1348 + 6630332 commit a5a4269

File tree

13 files changed

+602
-290
lines changed

13 files changed

+602
-290
lines changed

.cspell/custom-dictionary.txt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
argmin
2+
Binnedhdf
3+
CLAHE
4+
cmap
5+
colorbar
6+
colormesh
7+
curv
8+
Einit
9+
Einterp
10+
figsize
11+
fontsize
12+
fprocessing
13+
hyperparams
14+
indx
15+
interp
16+
kscale
17+
kxxsc
18+
kyysc
19+
labelsize
20+
loadmat
21+
mclahe
22+
meshgrid
23+
mpes
24+
ndimage
25+
pcolormesh
26+
rotosymmetrize
27+
rotsym
28+
sess
29+
viridis
30+
xlabel
31+
xticks
32+
ylabel
33+
yticks
34+
zaxis
35+
zlabel

.pre-commit-config.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v4.3.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-yaml
10+
- id: check-added-large-files
11+
- id: check-ast
12+
- id: check-docstring-first
13+
14+
- repo: https://github.com/astral-sh/ruff-pre-commit
15+
# Ruff version.
16+
rev: v0.2.2
17+
hooks:
18+
# Run the formatter.
19+
- id: ruff-format
20+
# Run the linter.
21+
- id: ruff
22+
- repo: https://github.com/pre-commit/mirrors-mypy
23+
rev: v1.7.1
24+
hooks:
25+
- id: mypy
26+
- repo: https://github.com/asottile/reorder_python_imports
27+
rev: v3.8.2
28+
hooks:
29+
- id: reorder-python-imports
30+
args: [--application-directories, '.:src', --py39-plus]
31+
- repo: https://github.com/asottile/pyupgrade
32+
rev: v3.16.0
33+
hooks:
34+
- id: pyupgrade
35+
args: [--py39-plus]
36+
- repo: https://github.com/asottile/add-trailing-comma
37+
rev: v2.2.3
38+
hooks:
39+
- id: add-trailing-comma
40+
args: [--py36-plus]
41+
- repo: https://github.com/kynan/nbstripout
42+
rev: 0.6.0
43+
hooks:
44+
- id: nbstripout
45+
- repo: https://github.com/streetsidesoftware/cspell-cli
46+
rev: v6.31.1
47+
hooks:
48+
- id: cspell
File renamed without changes.

cspell.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"version": "0.2",
3+
"ignorePaths": [
4+
"./tests/data/*",
5+
"*.toml",
6+
"Makefile",
7+
"*.bat",
8+
"*.egg-info",
9+
],
10+
"dictionaryDefinitions": [
11+
{
12+
"name": "custom-dictionary",
13+
"path": "./.cspell/custom-dictionary.txt",
14+
"addWords": true
15+
}
16+
],
17+
"dictionaries": [ "custom-dictionary"
18+
],
19+
"words": [],
20+
"ignoreWords": [],
21+
"import": [],
22+
"language": "en-GB, en-US"
23+
}

fuller/__init__.py

100755100644
File mode changed.

fuller/generator.py

100755100644
File mode changed.

0 commit comments

Comments
 (0)