Skip to content

Commit

Permalink
Merge branch 'main' into license-classify-modeling
Browse files Browse the repository at this point in the history
  • Loading branch information
TimidRobot committed Jun 6, 2024
2 parents 8a42aa0 + dfca3e0 commit 47c8c3a
Show file tree
Hide file tree
Showing 112 changed files with 65,059 additions and 21,478 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/python_static_analysis.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Static Analysis

on:
push:
workflow_dispatch:

jobs:
job:
runs-on: ubuntu-latest

steps:

# https://github.com/actions/setup-python
- name: Install Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install pipenv
run: |
pip install --upgrade pip
pip install pipenv
# https://github.com/actions/checkout
- name: Checkout quantifying
uses: actions/checkout@v4

- name: Install Python dependencies
# Install _only_ [dev-packages]
run: pipenv sync --categories dev-packages --system

- name: pre-commit
run: pre-commit run --show-diff-on-failure --color=always --all-files
45 changes: 45 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_language_version:
python: python3.11

repos:

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: destroyed-symlinks
- id: end-of-file-fixer
- id: mixed-line-ending
args:
- --fix=auto #replaces automatically the most frequent line ending.
- id: trailing-whitespace

- repo: local
hooks:
- id: black
name: "Black"
entry: black
language: system
types: ["file", "python", "text"]

- id: flake8
name: "Flake8"
entry: flake8
language: system
types: ["file", "python", "text"]

- id: isort
name: "isort"
entry: isort --filter-files
language: system
types: ["file", "python", "text"]
13 changes: 0 additions & 13 deletions CODE_OF_CONDUCT.md

This file was deleted.

34 changes: 0 additions & 34 deletions CONTRIBUTING.md

This file was deleted.

12 changes: 7 additions & 5 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,26 @@ verify_ssl = true
name = "pypi"

[packages]
python-dotenv = "*"
flickrapi = "*"
internetarchive = "*"
jupyterlab = "*"
jupyterlab = ">=3.6.7"
matplotlib = "*"
numpy = "*"
pandas = "*"
plotly = "*"
requests = "*"
Pyarrow = "*"
python-dotenv = "*"
requests = ">=2.31.0"
seaborn = "*"
urllib3 = "*"
urllib3 = ">=1.26.18"
wordcloud = "*"

[dev-packages]
black = "*"
"black[jupyter]" = "*"
flake8 = "*"
isort = "*"
pre-commit = "*"

[requires]
python_version = "3.10"
python_version = "3.11"
Loading

0 comments on commit 47c8c3a

Please sign in to comment.