-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
69 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,4 @@ _* | |
_*/ | ||
Manifest.toml | ||
data/ | ||
data | ||
VUBLinter.jl/docs/build | ||
docs/build |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# VUBLinter.jl | ||
|
||
A data linter written in Julia at the Vrije Universiteit Brussel. | ||
|
||
[](LICENSE.md) | ||
[](https://zgornel.github.io/VUBLinter/dev) | ||
|
||
|
||
## Installation | ||
|
||
The installation can be done by manually by cloning the repository or installing it through the julia `REPL`. | ||
|
||
|
||
## License | ||
|
||
This code has an GPL license and therefore it is free as beer. | ||
|
||
|
||
## Reporting Bugs | ||
|
||
Please [file an issue](https://github.com/zgornel/VUBLinter.jl/issues/new) to report a bug or request a feature. | ||
|
||
|
||
## References | ||
|
||
[1] https://en.wikipedia.org/wiki/Lint_(software) | ||
|
||
For other interesting data linting solutions, check out also [this work](https://github.com/brain-research/data-linter) from Google brain research. |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name = "vublinter" | ||
uuid = "1c60c992-bb9d-4404-95b0-08c73534b203" | ||
authors = ["Corneliu Cofaru <[email protected]>"] | ||
version = "0.1.0" | ||
|
||
[deps] | ||
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63" | ||
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
using vublinter | ||
|
||
push!(ARGS, "arg") | ||
vublinter.julia_main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,11 @@ | ||
# ArchLinux based commands | ||
FROM manjarolinux/base:20240804 | ||
RUN pacman -Syyu --noconfirm && \ | ||
pacman -S --noconfirm julia && \ | ||
pacman -S --noconfirm curl && \ | ||
pacman -Scc --noconfirm && \ | ||
rm -f /var/cache/pacman/pkg/* | ||
|
||
# make directories | ||
RUN mkdir -p /tmp | ||
RUN mkdir -p /output | ||
RUN mkdir -p /workspace | ||
|
||
# Copy binaries | ||
WORKDIR / | ||
COPY ./VUBLinter.jl ./VUBLinter.jl | ||
|
||
|
||
# Prime dependencies for top level script | ||
WORKDIR /VUBLinter.jl | ||
RUN julia -e 'using Pkg; Pkg.activate("."); Pkg.test()' |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
module vublinterw | ||
|
||
# The actual entrypoint is apps/vublinter/src/vublinter.jl | ||
const VUBLINTERPATH = abspath(joinpath(@__DIR__, "apps", "vublinter", "src", "vublinter.jl")) | ||
include(VUBLINTERPATH) # adds module vublinter | ||
|
||
import Pkg, UUIDs | ||
prj = Pkg.project() | ||
if prj.name != "VUBLinter" || prj.uuid != UUIDs.UUID("7795ac26-99bd-44b7-aa9b-4d57ee2553a8") | ||
@warn "Something is off, vublinter should have already activated the project environment." | ||
Pkg.activate(@__DIR__) # activates current directory (VUBLinter project directory) only if not already activated by vublinter | ||
Pkg.instantiate() | ||
end | ||
|
||
main_script_file = abspath(PROGRAM_FILE) | ||
|
||
if occursin("debugger", main_script_file) || main_script_file == @__FILE__ | ||
vublinter.real_main() | ||
end | ||
|
||
end # module |
File renamed without changes.