Skip to content

Commit

Permalink
refactor app
Browse files Browse the repository at this point in the history
  • Loading branch information
mfenner committed Oct 7, 2023
1 parent 14d890f commit 736c373
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion .python-version

This file was deleted.

2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# TODO: Modify this Procfile to fit your needs
web: hypercorn -b 0.0.0.0:$PORT app:app
web: hypercorn -b 0.0.0.0:$PORT app:rogue_scholar
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![PyPI version](https://img.shields.io/pypi/v/rogue-scholar-api.svg)](https://pypi.org/project/rogue-scholar-api/)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=front-matter_rogue-scholar-api&metric=coverage)](https://sonarcloud.io/summary/new_code?id=front-matter_rogue-scholar-api)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=front-matter_rogue-scholar-api&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=front-matter_rogue-scholar-api)
[![docs](https://img.shields.io/badge/docs-passing-blue)](https://rogue-scholar-api.docs.front-matter.io/)
[![docs](https://img.shields.io/badge/docs-passing-blue)](https://docs.rogue-scholar.org)
![GitHub](https://img.shields.io/github/license/front-matter/rogue-scholar-api?logo=MIT)

# rogue-scholar-api
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[tool.poetry]
name = "rogue-scholar-api"
version = "0.1.0"
version = "0.8.0"
description = "API for the Rogue Scholar science blogging platform."
authors = ["Martin Fenner <martin@front-matter.io>"]
license = "MIT"
readme = "README.md"
packages = [{include = "rogue_scholar"}]

[tool.poetry.dependencies]
python = "^3.9"
Expand Down
2 changes: 1 addition & 1 deletion app.py → rogue_scholar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from quart import Quart, request, jsonify
import typesense as ts

from utils import get_doi_metadata_from_ra
from rogue_scholar.utils import get_doi_metadata_from_ra

# from typesense.exceptions import TypesenseClientError

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sonar.projectName=rogue-scholar-api
#sonar.projectVersion=1.0

# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.sources=
sonar.sources=rogue-scholar

# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8
Expand Down

0 comments on commit 736c373

Please sign in to comment.