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
#!/usr/bin/python3 | |
import sys | |
import subprocess | |
import glob | |
from yachalk import chalk | |
def test_file(file): | |
proc = subprocess.Popen(['ffmpeg', '-v', 'error', '-i', file, '-f', 'null', '-'], stderr=subprocess.PIPE, shell=True) | |
line = proc.stderr.readline() |
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
from argparse import REMAINDER, ArgumentParser, BooleanOptionalAction | |
from pathlib import Path | |
from subprocess import run | |
from typing import Sequence | |
class ProgramException(Exception): | |
pass | |
def parse_args(): |
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
image: mfisherman/texlive-full:2022 | |
stages: | |
- build | |
build-job: | |
stage: build | |
script: | |
- latexmk -interaction=nonstopmode -file-line-error -pdf main | |
artifacts: |
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
Dockerfile | |
.dockerignore | |
build.py | |
### .gitignore | |
# Ignore binaries, cover profiles and build files | |
*.out | |
.tmp | |
builds/ |
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
from __future__ import annotations | |
from enum import Enum | |
from typing import Literal, Optional, Type, TypeAlias, get_args | |
from pydantic import BaseModel, Extra, Field | |
from identify.identify import ALL_TAGS | |
IdentifyTypes = Enum("IdentifyTypes", {tag: tag for tag in ALL_TAGS}) | |
IdentifyTypesLiteral: TypeAlias = Literal["gherkin", "zsh", "adobe-illustrator", "markdown", "gitmodules", "edn", "dart", "bazel", "gitlint", "mention-bot", "terraform", "dockerignore", "dtd", "xquery", "ino", "php8", "makefile", "ts", "idris", "audio", "woff2", "inc", "c++", "verilog", "yaml", "ttf", "geojson", "system-verilog", "python3", "yamlld", "scss", "txsprofile", "eps", "png", "gitconfig", "sln", "pem", "ngdoc", "rust", "haskell", "awk", "m4", "bazelrc", "spec", "c2hs", "purescript", "flake8", "ocaml", "vim", "nunjucks", "nimble", "vdx", "less", "groovy", "aspectj", "toml", "css", "def", "objective-c", "jsonnet", "gitignore", "babelrc", "wkt", "plantuml", "vue", "bib", "swf", "xhtml", "browserslistrc", "text", "pkgbuild", "myst", |
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
{ | |
"title": "ReleaseRC", | |
"type": "object", | |
"properties": { | |
"extends": { | |
"title": "Extends", | |
"description": "List of modules or file paths containing a shareable configuration. If multiple shareable configurations are set, they will be imported in the order defined with each configuration option taking precedence over the options defined in a previous shareable configuration.", | |
"anyOf": [ | |
{ | |
"type": "string" |
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
#!/usr/bin/env python3 | |
from __future__ import annotations | |
from argparse import OPTIONAL, ArgumentParser | |
from datetime import datetime | |
from functools import wraps | |
from gzip import compress, decompress | |
from pathlib import Path | |
from re import compile | |
from subprocess import PIPE, run | |
from typing import ( |