From f59713cff52c8bd710296a30a643cb0acb4fd669 Mon Sep 17 00:00:00 2001 From: "Interdisciplinary Physics Team (InPhyT)" <63546437+InterdisciplinaryPhysicsTeam@users.noreply.github.com> Date: Fri, 12 Aug 2022 16:56:20 +0200 Subject: [PATCH] Remove format check Co-Authored-By: Pietro Monticone <38562595+pitmonticone@users.noreply.github.com> Co-Authored-By: Claudio Moroni <43729990+ClaudMor@users.noreply.github.com> --- .JuliaFormatter.toml | 13 ---------- .github/workflows/FormatCheck.yml | 42 ------------------------------- 2 files changed, 55 deletions(-) delete mode 100644 .JuliaFormatter.toml delete mode 100644 .github/workflows/FormatCheck.yml diff --git a/.JuliaFormatter.toml b/.JuliaFormatter.toml deleted file mode 100644 index b7a90ef74..000000000 --- a/.JuliaFormatter.toml +++ /dev/null @@ -1,13 +0,0 @@ -always_for_in = true -always_use_return = false -annotate_untyped_fields_with_any = true -conditional_to_if = false -import_to_using = false -join_lines_based_on_source = true -normalize_line_endings = "unix" -pipe_to_function_call = false -remove_extra_newlines = true -short_to_long_function_def = false -whitespace_in_kwargs = true -whitespace_ops_in_indices = false -whitespace_typedefs = false \ No newline at end of file diff --git a/.github/workflows/FormatCheck.yml b/.github/workflows/FormatCheck.yml deleted file mode 100644 index 8d0e50520..000000000 --- a/.github/workflows/FormatCheck.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: FormatCheck - -on: - push: - branches: - - 'main' - - 'release-' - tags: '*' - pull_request: - -jobs: - build: - runs-on: ${{ matrix.os }} - strategy: - matrix: - julia-version: [1] - julia-arch: [x64] - os: [ubuntu-latest] - steps: - - uses: julia-actions/setup-julia@latest - with: - version: ${{ matrix.julia-version }} - - - uses: actions/checkout@v1 - - name: Install JuliaFormatter and format - # This will use the latest version by default but you can set the version like so: - # - # julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter", version="0.13.0"))' - run: | - julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter"))' - julia -e 'using JuliaFormatter; format(".", verbose=true)' - - name: Format check - run: | - julia -e ' - out = Cmd(`git diff --name-only`) |> read |> String - if out == "" - exit(0) - else - @error "Some files have not been formatted !!!" - write(stdout, out) - exit(1) - end' \ No newline at end of file