Skip to content

Commit 40a0d84

Browse files
authored
More autoformatting (#2359)
* Bring more files into autoformatting fold * Run JuliaFormatter * Remove trailing whitespace * Update comment in .JuliaFormatter.toml
1 parent b1122c1 commit 40a0d84

File tree

6 files changed

+233
-197
lines changed

6 files changed

+233
-197
lines changed

.JuliaFormatter.toml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,10 @@ import_to_using = false
55
# We ignore these files because when formatting was first put in place they were being worked on.
66
# These ignores should be removed once the relevant PRs are merged/closed.
77
ignore = [
8-
# https://github.com/TuringLang/Turing.jl/pull/2231/files
8+
# https://github.com/TuringLang/Turing.jl/pull/2328/files
99
"src/experimental/gibbs.jl",
10-
"src/mcmc/abstractmcmc.jl",
1110
"test/experimental/gibbs.jl",
12-
"test/test_utils/numerical_tests.jl",
13-
# https://github.com/TuringLang/Turing.jl/pull/2218/files
14-
"src/mcmc/Inference.jl",
15-
"test/mcmc/Inference.jl",
1611
# https://github.com/TuringLang/Turing.jl/pull/1887 # Enzyme PR
17-
"test/mcmc/Inference.jl",
1812
"test/mcmc/hmc.jl",
1913
"test/mcmc/sghmc.jl",
20-
"test/runtests.jl",
2114
]

.github/ISSUE_TEMPLATE/01-bug-report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ body:
88
attributes:
99
value: |
1010
Thank you for submitting a bug report to Turing.jl!
11-
11+
1212
To make sure we can pinpoint the issue and fix it as quickly as possible, we ask you to provide some information about the bug you encountered. Please fill out the form below.
1313
1414
- type: textarea
@@ -35,7 +35,7 @@ body:
3535
description: Paste the output of `versioninfo()` between the triple backticks
3636
value: |
3737
<details><summary>versioninfo()</summary>
38-
38+
3939
```
4040
(Paste here)
4141
```
@@ -50,7 +50,7 @@ body:
5050
description: Paste the output of `]st --manifest` between the triple backticks.
5151
value: |
5252
<details><summary>]st --manifest</summary>
53-
53+
5454
```
5555
(Paste here)
5656
```

.github/workflows/Tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
- uses: julia-actions/julia-buildpkg@v1
8080
# TODO: Use julia-actions/julia-runtest when test_args are supported
8181
# Custom calls of Pkg.test tend to miss features such as e.g. adjustments for CompatHelper PRs
82-
# Ref https://github.com/julia-actions/julia-runtest/pull/73
82+
# Ref https://github.com/julia-actions/julia-runtest/pull/73
8383
- name: Call Pkg.test
8484
run: julia --color=yes --inline=yes --depwarn=yes --check-bounds=yes --threads=${{ matrix.num_threads }} --project=@. -e 'import Pkg; Pkg.test(; coverage=parse(Bool, ENV["COVERAGE"]), test_args=ARGS)' -- ${{ matrix.test-args }}
8585
- uses: julia-actions/julia-processcoverage@v1

0 commit comments

Comments
 (0)