Skip to content

Commit

Permalink
Merge pull request #23 from tylerjthomas9/dev
Browse files Browse the repository at this point in the history
reformat, prep for 1.0 release
  • Loading branch information
tylerjthomas9 authored Feb 26, 2024
2 parents 4ceedba + ebc9172 commit c90d555
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 246 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ScrapeSEC"
uuid = "856806e7-be2f-4540-8165-3a51303b7af0"
authors = ["tylerjthomas9 <[email protected]>"]
version = "0.8.0"
version = "1.0.0"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand All @@ -13,13 +13,13 @@ ZipFile = "a5390f91-8eb1-5f08-bee0-b1d1ffed6cea"

[compat]
Aqua = "0.8.4"
CSV = "0.9, 0.10"
CSV = "0.10"
DataFrames = "1"
Dates = "<0.0.1, 1"
HTTP = "1"
Term = "2"
Test = "<0.0.1, 1"
ZipFile = "0.9, 0.10"
ZipFile = "0.10"
julia = "1.6"

[extras]
Expand Down
1 change: 0 additions & 1 deletion format/.gitignore

This file was deleted.

233 changes: 0 additions & 233 deletions format/Manifest.toml

This file was deleted.

5 changes: 1 addition & 4 deletions format/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# format

Run `julia --project=format format/run.jl` with Julia 1.8 to run JuliaFormatter.

If you update the version of Julia used to generate the `Manifest.toml` make sure to also
update the version in `.github/workflows/format_check.yml` to match.
Run `julia --project=format format/run.jl`.
4 changes: 2 additions & 2 deletions src/download_filings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function download_filings(
dest="./data/"::String,
download_rate=10::Int,
skip_file=true::Bool,
pbar=ProgressBar(; )::ProgressBar,
pbar=ProgressBar(;)::ProgressBar,
stop_pbar=true::Bool,
pbar_desc="Downloading Filings"::String,
running_tests=false::Bool,
Expand Down Expand Up @@ -153,7 +153,7 @@ function download_filings(
filing_types=["10-K"]::Vector{String},
download_rate=10::Int,
skip_file=true::Bool,
pbar=ProgressBar(; )::ProgressBar,
pbar=ProgressBar(;)::ProgressBar,
stop_pbar=true::Bool,
pbar_desc="Downloading Filings"::String,
running_tests=false::Bool,
Expand Down
2 changes: 1 addition & 1 deletion src/download_metadata.jl
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function download_metadata_files(

urls = get_metadata_urls(time_periods)
n_files = size(urls, 1)
pbar = ProgressBar(; )
pbar = ProgressBar(;)
job = addjob!(pbar; N=n_files, description="Downloading Metadata CSVs...")
start!(pbar)
@inbounds for idx in eachindex(urls)
Expand Down
2 changes: 1 addition & 1 deletion test/download_filings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ end
download_filings(
1994,
1994;
quarters=[3,4],
quarters=[3, 4],
dest="./temp/",
metadata_dest="./metadata/",
running_tests=true,
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ for t in tests
include(fp)
end

Aqua.test_all(ScrapeSEC, ambiguities=false)
Aqua.test_all(ScrapeSEC; ambiguities=false)

0 comments on commit c90d555

Please sign in to comment.