Skip to content

Commit c4b5323

Browse files
authored
Ignore ruff and pre-commit config files. (#12)
* Ignore ruff and pre-commit config files. * Ruff fixes
1 parent dbaf943 commit c4b5323

10 files changed

Lines changed: 11 additions & 14 deletions

File tree

.github/build_real.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ fi
1111
cp $CONFIG_FILE config/config.mk
1212
make
1313
make install
14-
pip install .[testing]
14+
pip install .[testing]

.gitignore

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Ignore ruff and pre-commit config files
2+
ruff.toml
3+
.pre-commit-config.yaml
4+
5+
# General
16
*.DS_Store
27
*__pycache__
38
*.egg-info
@@ -6,8 +11,8 @@
611
*.so
712
*.out
813

9-
# auto generated files
14+
# Auto generated files
1015
config.mk
1116

12-
# compiled tests
17+
# Compiled tests
1318
tests/test_complexify

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ install:
3232

3333
complexify_build:
3434
ln -sf config/config.mk config.mk;
35-
(cd src && make)
35+
(cd src && make)

config/defaults/config.LINUX_GFORTRAN.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ FF90 = gfortran
1212
FF90_FLAGS = -fPIC -O2 -fdefault-real-8 -std=f2008
1313

1414
# ------- Define linker flags ------------------------------------------
15-
LINKER_FLAGS = -fPIC # If on a OSX add -undefined dynamic_lookup
15+
LINKER_FLAGS = -fPIC # If on a OSX add -undefined dynamic_lookup

doc/images/stepsize.svg

Lines changed: 1 addition & 1 deletion
Loading

doc/library.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,3 @@ Next, in the case of a Makefile, one can define the following variables that can
6464
# ------- Define complexify inlcude and linker flags -------------------------
6565
COMPLEXIFY_INCLUDE_FLAGS=-I$(COMPLEXIFY_DIR)/include
6666
COMPLEXIFY_LINKER_FLAGS=-L$(COMPLEXIFY_DIR)/lib -lcomplexify
67-
68-
69-

doc/module.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ Please refer to the :ref:`complexify_api` and :ref:`complexify_examples` on how
2222

2323
API
2424
examples
25-

src/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,3 @@ default:
77

88
# Create a library:
99
$(FF90) -shared complexify.o -o libcomplexify.so
10-
11-

src/complexArithm.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,4 +152,3 @@ subroutine cmplxL2Norm(x_r, x_i, n, l2Norm)
152152
l2Norm = sqrt(l2Norm)
153153

154154
end subroutine cmplxL2Norm
155-

src/complexify.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,4 +916,3 @@ function floor_c(z)
916916
end function floor_c
917917

918918
end module complexify
919-

0 commit comments

Comments
 (0)