Skip to content

Commit

Permalink
chore: initial fixes to auto generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Strömer committed Jun 1, 2024
1 parent 403caf8 commit 13962f8
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 9 deletions.
14 changes: 13 additions & 1 deletion .JuliaFormatter.toml
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
# See https://domluna.github.io/JuliaFormatter.jl/stable/ for a list of options
# Configuration file for JuliaFormatter.jl
# For more information, see: https://domluna.github.io/JuliaFormatter.jl/stable/config/
# This is (loosely) based on the formatting that https://github.com/jump-dev/JuMP.jl uses

always_for_in = true
always_use_return = true
margin = 120
remove_extra_newlines = true
separate_kwargs_with_semicolon = true
short_to_long_function_def = false
whitespace_typedefs = true
whitespace_in_kwargs = false
whitespace_ops_in_indices = true
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 Stefan Strömer <[email protected]> and contributors
Copyright (c) 2024 AIT Austrian Institute of Technology GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 0 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name = "IESoptLibrary"
uuid = "b98f706d-40ec-4ce6-a66c-1c6e71d3cef6"
authors = ["Stefan Strömer <[email protected]> and contributors"]
version = "0.1.0"

[compat]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# IESoptLibrary

[![Build Status](https://github.com/sstroemer/IESoptLibrary.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/sstroemer/IESoptLibrary.jl/actions/workflows/CI.yml?query=branch%3Amain)
[![Coverage](https://codecov.io/gh/sstroemer/IESoptLibrary.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/sstroemer/IESoptLibrary.jl)
[![Build Status](https://github.com/ait-energy/IESoptLibrary.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/ait-energy/IESoptLibrary.jl/actions/workflows/CI.yml?query=branch%3Amain)
[![Coverage](https://codecov.io/gh/ait-energy/IESoptLibrary.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/ait-energy/IESoptLibrary.jl)
[![Aqua](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)
10 changes: 6 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
using IESoptLibrary
using Test
using Aqua
using JET
import Aqua
import JET

@testset "IESoptLibrary.jl" begin
@testset "IESoptLibrary.jl" verbose = true begin
@testset "Code quality (Aqua.jl)" begin
Aqua.test_all(IESoptLibrary)
end

@testset "Code linting (JET.jl)" begin
JET.test_package(IESoptLibrary; target_defined_modules = true)
JET.test_package(IESoptLibrary; target_defined_modules=true)
end

# Write your tests here.
end

0 comments on commit 13962f8

Please sign in to comment.