-
Notifications
You must be signed in to change notification settings - Fork 3
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
15 changed files
with
93 additions
and
97 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 |
---|---|---|
@@ -1,13 +1,15 @@ | ||
FROM eligibility_server:latest | ||
|
||
# install python tooling | ||
COPY .devcontainer/requirements.txt .devcontainer/requirements.txt | ||
RUN pip install --no-cache-dir -r .devcontainer/requirements.txt | ||
# install devcontainer requirements | ||
RUN pip install -e .[dev,test] | ||
|
||
# install docs tooling | ||
# docs requirements are in a separate file for the GitHub Action | ||
COPY docs/requirements.txt docs/requirements.txt | ||
RUN pip install --no-cache-dir -r docs/requirements.txt | ||
|
||
# install test tooling | ||
COPY tests/requirements.txt tests/requirements.txt | ||
RUN pip install -r tests/requirements.txt | ||
# install pre-commit environments in throwaway Git repository | ||
# https://stackoverflow.com/a/68758943 | ||
COPY .pre-commit-config.yaml . | ||
RUN git init . && \ | ||
pre-commit install-hooks && \ | ||
rm -rf .git |
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 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
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
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,3 +1,4 @@ | ||
sub,name,type | ||
71162,Box,courtesy_card | ||
32587,Gonzales,courtesy_card | ||
03552,McCulley,courtesy_card | ||
|
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,3 @@ | ||
__version__ = "2023.08.1" | ||
|
||
VERSION = __version__ |
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,11 +1,46 @@ | ||
# Configuration for Black. | ||
[build-system] | ||
requires = ["setuptools>=64", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
# NOTE: you have to use single-quoted strings in TOML for regular expressions. | ||
# It's the equivalent of r-strings in Python. Multiline strings are treated as | ||
# verbose regular expressions by Black. Use [ ] to denote a significant space | ||
# character. | ||
[project] | ||
classifiers = ["Programming Language :: Python :: 3 :: Only"] | ||
description = "Server implementation of the Eligibility Verification API" | ||
dependencies = [ | ||
"eligibility-api==2023.6.1", | ||
"Flask==2.3.2", | ||
"Flask-RESTful==0.3.10", | ||
"Flask-SQLAlchemy==3.0.5", | ||
"requests==2.31.0" | ||
] | ||
dynamic = ["version"] | ||
keywords = ["flask"] | ||
license = { file = "LICENSE" } | ||
name = "eligibility-server" | ||
readme = "README.md" | ||
requires-python = ">=3.9" | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"black", | ||
"flake8", | ||
"pre-commit", | ||
] | ||
test = [ | ||
"coverage", | ||
"pytest", | ||
"pytest-mock", | ||
] | ||
|
||
[project.urls] | ||
Code = "https://github.com/cal-itp/eligibility-server" | ||
Documentation = "https://docs.calitp.org/eligibility-server" | ||
Issues = "https://github.com/cal-itp/eligibility-server/issues" | ||
|
||
# Configuration for black | ||
[tool.black] | ||
line-length = 127 | ||
target-version = ['py310'] | ||
include = '\.pyi?$' | ||
|
||
[tool.setuptools] | ||
packages = ["eligibility_server"] |
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
This file was deleted.
Oops, something went wrong.