Skip to content

Commit

Permalink
Merge pull request #104 from OnroerendErfgoed/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
claeyswo authored Jul 4, 2024
2 parents 3698e28 + adda9cb commit da8b0e1
Show file tree
Hide file tree
Showing 30 changed files with 733 additions and 412 deletions.
8 changes: 8 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[flake8]
application_import_names = uriregistry, tests
exclude = .venv,
.tox,
__pycache__,
import-order-style = pycharm
max-line-length = 90
ignore = E402, E405, W503, F403, F405
42 changes: 42 additions & 0 deletions .github/workflows/uriregistry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Uriregistry backend tests

on:
workflow_dispatch:

pull_request:
paths:
- uriregistry/**
- .github/workflows/uriregistry.yaml
- scripts/**
- pyproject.toml
- requirements*.txt
- tests/**

push:
branches:
- main
env:
PYTHON_VERSION: '3.11'

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install python requirements
env:
HATCH_BUILD_NO_HOOKS: true
working-directory: ./
run: |
pip --version
pip install pip-tools
pip-sync requirements-dev.txt
pip install -e .
- name: Python tests
run: pytest tests --exitfirst --capture=no -vvv --full-trace
25 changes: 25 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
types: [python]
- id: trailing-whitespace
types: [python]
- repo: https://github.com/psf/black
rev: 24.3.0
hooks:
- id: black
types: [python]
args: [--preview]
exclude: docs, tests
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies:
- flake8-import-order==0.18.2
- flake8-bugbear==24.2.6
types: [python]
exclude: docs
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

39 changes: 39 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
0.4.0 (04-07-2024)
==================

- pyproj - gh actions - async workers (#102)

0.3.1 (16-08-2022)
==================

- Avoid \"max\_workers must be greater than 0\"-Exception in case no
applications are listed in the configurarion (\#97)

0.3.0 (21-02-2022)
==================

- Improved performance (\#8)
- Pyramid 2.0 upgrade (\#85)

0.2.0 (07-12-2020)
==================

- Library update(\#69)
- Py3 compatibel maken (\#66)

0.1.2 (08-06-2017)
==================

- Make compatible with Python 3.5
- Update pyramid\_urireferencer to 0.6.0 (\#9)

0.1.1 (04-08-2015)
==================

- Update pyramid\_urireferencer to 0.4.0

0.1.0 (11-06-2015)
==================

- Initial version
- Works with pyramid\_urireferencer 0.2.0.
33 changes: 0 additions & 33 deletions CHANGES.rst

This file was deleted.

2 changes: 0 additions & 2 deletions MANIFEST.in

This file was deleted.

12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
UriRegistry
===========

[![image](https://badge.fury.io/py/uriregistry.png)](http://badge.fury.io/py/uriregistry)
[![image](https://readthedocs.org/projects/uriregistry/badge/?version=latest)](https://readthedocs.org/projects/uriregistry/?badge=latest)
[![image](https://travis-ci.org/OnroerendErfgoed/uriregistry.png?branch=master)](https://travis-ci.org/OnroerendErfgoed/uriregistry)
[![image](https://coveralls.io/repos/OnroerendErfgoed/uriregistry/badge.png?branch=master)](https://coveralls.io/r/OnroerendErfgoed/uriregistry)

This project aims to provide a central location for keeping track of
different resources through their URI\'s. It has been designed to answer
one simple question: in which applications is a certain resource (ie. a
URI) being used?
16 changes: 0 additions & 16 deletions README.rst

This file was deleted.

Loading

0 comments on commit da8b0e1

Please sign in to comment.