Skip to content

Commit 47b638a

Browse files
committed
Run pre-commit run --all-files
1 parent 71f94ff commit 47b638a

28 files changed

+34
-36
lines changed

.coveragerc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[run]
22
dynamic_context = test_function
3-
omit =
3+
omit =
44
fortls/__init__.py
55
fortls/version.py
66

@@ -9,4 +9,4 @@ exclude_lines =
99
if debug:
1010
log.debug
1111
except:
12-
if not PY3K:
12+
if not PY3K:

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
*.pyc
22
.vscode
3-
*.egg-info
3+
*.egg-info
44
dist/
55
build/
66
docs/_build/
@@ -14,4 +14,4 @@ fortls/_version.py
1414
*.smod
1515
*.log
1616

17-
.coverage
17+
.coverage

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pytest -v
4040
```
4141
This will run the entire unit test suite. You can also run this to verify that you haven't broken anything in the code.
4242

43-
👉 **Tip!** You can run individual tests by selecting the path to the Python file and the method
43+
👉 **Tip!** You can run individual tests by selecting the path to the Python file and the method
4444
```sh
4545
pytest test/test_interface.py::test_version_update_pypi
4646
```

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
SPHINXOPTS ?=
77
SPHINXBUILD ?= sphinx-build
88
SPHINXAPIDOC ?= sphinx-apidoc
9-
PANDOC ?= pandoc
9+
PANDOC ?= pandoc
1010
SOURCEDIR = .
1111
BUILDDIR = _build
1212

docs/editor_integration.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,5 +120,3 @@ Edit your kakrc config to enable kak-lsp, adding fortran as a filetype:
120120
hook global WinSetOption filetype=(fortran) %{
121121
lsp-enable-window
122122
}
123-
124-

docs/options.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ incl_suffixes
108108
.F .f .F03 .f03 .F05 .f05 .F08 .f08 .F18 .f18 .F77 .f77 .F90 .f90 .F95 .f95 .FOR .for .FPP .fpp.
109109
Additional source file extensions can be defined in ``incl_suffixes``.
110110

111-
.. note:: The default file extensions cannot be overwritten. ``incl_suffixes`` will only append to the default extensions.
111+
.. note:: The default file extensions cannot be overwritten. ``incl_suffixes`` will only append to the default extensions.
112112

113113

114114
excl_suffixes
@@ -187,7 +187,7 @@ pp_defs
187187
}
188188
}
189189
190-
Additional **preprocessor definitions** from what are specified in files found in
190+
Additional **preprocessor definitions** from what are specified in files found in
191191
``include_dirs`` can be defined in ``pp_defs``.
192192

193193
.. note:: Definitions in ``pp_defs`` will override definitions from ``include_dirs``

test/test_source/.fortls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
"rename"
1010
]
1111

12-
}
12+
}

test/test_source/diag/test_contains.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ program test_contains
33
contains
44
contains
55
end program test_contains
6-
contains
6+
contains

test/test_source/diag/test_external.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ program test_external
88
EXTERNAL VAR_B ! throw error
99
REAL VAR_A ! throw error
1010
EXTERNAL VAR_C
11-
end program test_external
11+
end program test_external
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
program test_imp
22
implicit none
3-
3+
44
end program test_imp
55
implicit none

0 commit comments

Comments
 (0)