Skip to content

Commit 47c8c3a

Browse files
committed
Merge branch 'main' into license-classify-modeling
2 parents 8a42aa0 + dfca3e0 commit 47c8c3a

File tree

112 files changed

+65059
-21478
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+65059
-21478
lines changed

.github/workflows/python_static_analysis.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Static Analysis
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
7+
jobs:
8+
job:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
13+
# https://github.com/actions/setup-python
14+
- name: Install Python 3.11
15+
uses: actions/setup-python@v5
16+
with:
17+
python-version: '3.11'
18+
19+
- name: Install pipenv
20+
run: |
21+
pip install --upgrade pip
22+
pip install pipenv
23+
24+
# https://github.com/actions/checkout
25+
- name: Checkout quantifying
26+
uses: actions/checkout@v4
27+
28+
- name: Install Python dependencies
29+
# Install _only_ [dev-packages]
30+
run: pipenv sync --categories dev-packages --system
31+
32+
- name: pre-commit
33+
run: pre-commit run --show-diff-on-failure --color=always --all-files

.pre-commit-config.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
default_language_version:
4+
python: python3.11
5+
6+
repos:
7+
8+
- repo: https://github.com/pre-commit/pre-commit-hooks
9+
rev: v4.6.0
10+
hooks:
11+
- id: check-added-large-files
12+
- id: check-ast
13+
- id: check-case-conflict
14+
- id: check-docstring-first
15+
- id: check-executables-have-shebangs
16+
- id: check-json
17+
- id: check-merge-conflict
18+
- id: check-toml
19+
- id: check-yaml
20+
- id: destroyed-symlinks
21+
- id: end-of-file-fixer
22+
- id: mixed-line-ending
23+
args:
24+
- --fix=auto #replaces automatically the most frequent line ending.
25+
- id: trailing-whitespace
26+
27+
- repo: local
28+
hooks:
29+
- id: black
30+
name: "Black"
31+
entry: black
32+
language: system
33+
types: ["file", "python", "text"]
34+
35+
- id: flake8
36+
name: "Flake8"
37+
entry: flake8
38+
language: system
39+
types: ["file", "python", "text"]
40+
41+
- id: isort
42+
name: "isort"
43+
entry: isort --filter-files
44+
language: system
45+
types: ["file", "python", "text"]

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

Pipfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,26 @@ verify_ssl = true
44
name = "pypi"
55

66
[packages]
7-
python-dotenv = "*"
87
flickrapi = "*"
98
internetarchive = "*"
10-
jupyterlab = "*"
9+
jupyterlab = ">=3.6.7"
1110
matplotlib = "*"
1211
numpy = "*"
1312
pandas = "*"
1413
plotly = "*"
15-
requests = "*"
14+
Pyarrow = "*"
15+
python-dotenv = "*"
16+
requests = ">=2.31.0"
1617
seaborn = "*"
17-
urllib3 = "*"
18+
urllib3 = ">=1.26.18"
1819
wordcloud = "*"
1920

2021
[dev-packages]
2122
black = "*"
2223
"black[jupyter]" = "*"
2324
flake8 = "*"
2425
isort = "*"
26+
pre-commit = "*"
2527

2628
[requires]
27-
python_version = "3.10"
29+
python_version = "3.11"

0 commit comments

Comments
 (0)