Skip to content

Commit

Permalink
More autoformatting (#2359)
Browse files Browse the repository at this point in the history
* Bring more files into autoformatting fold

* Run JuliaFormatter

* Remove trailing whitespace

* Update comment in .JuliaFormatter.toml
  • Loading branch information
mhauru authored Oct 4, 2024
1 parent b1122c1 commit 40a0d84
Show file tree
Hide file tree
Showing 6 changed files with 233 additions and 197 deletions.
9 changes: 1 addition & 8 deletions .JuliaFormatter.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,10 @@ import_to_using = false
# We ignore these files because when formatting was first put in place they were being worked on.
# These ignores should be removed once the relevant PRs are merged/closed.
ignore = [
# https://github.com/TuringLang/Turing.jl/pull/2231/files
# https://github.com/TuringLang/Turing.jl/pull/2328/files
"src/experimental/gibbs.jl",
"src/mcmc/abstractmcmc.jl",
"test/experimental/gibbs.jl",
"test/test_utils/numerical_tests.jl",
# https://github.com/TuringLang/Turing.jl/pull/2218/files
"src/mcmc/Inference.jl",
"test/mcmc/Inference.jl",
# https://github.com/TuringLang/Turing.jl/pull/1887 # Enzyme PR
"test/mcmc/Inference.jl",
"test/mcmc/hmc.jl",
"test/mcmc/sghmc.jl",
"test/runtests.jl",
]
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/01-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body:
attributes:
value: |
Thank you for submitting a bug report to Turing.jl!
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.
- type: textarea
Expand All @@ -35,7 +35,7 @@ body:
description: Paste the output of `versioninfo()` between the triple backticks
value: |
<details><summary>versioninfo()</summary>
```
(Paste here)
```
Expand All @@ -50,7 +50,7 @@ body:
description: Paste the output of `]st --manifest` between the triple backticks.
value: |
<details><summary>]st --manifest</summary>
```
(Paste here)
```
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
- uses: julia-actions/julia-buildpkg@v1
# TODO: Use julia-actions/julia-runtest when test_args are supported
# Custom calls of Pkg.test tend to miss features such as e.g. adjustments for CompatHelper PRs
# Ref https://github.com/julia-actions/julia-runtest/pull/73
# Ref https://github.com/julia-actions/julia-runtest/pull/73
- name: Call Pkg.test
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 }}
- uses: julia-actions/julia-processcoverage@v1
Expand Down
Loading

0 comments on commit 40a0d84

Please sign in to comment.