mirror of
https://github.com/kristoferssolo/FOSSDB.git
synced 2025-10-21 17:50:35 +00:00
Merge branch 'main' into development
This commit is contained in:
commit
5ac5c8e341
3
FOSSDB_web/apps/fossdb/admin.py
Normal file
3
FOSSDB_web/apps/fossdb/admin.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# from django.contrib import admin
|
||||||
|
|
||||||
|
# Register your models here.
|
||||||
3
FOSSDB_web/apps/fossdb/models.py
Normal file
3
FOSSDB_web/apps/fossdb/models.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# from django.db import models
|
||||||
|
|
||||||
|
# Create your models here.
|
||||||
3
FOSSDB_web/apps/fossdb/tests.py
Normal file
3
FOSSDB_web/apps/fossdb/tests.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# from django.test import TestCase
|
||||||
|
|
||||||
|
# Create your tests here.
|
||||||
3
FOSSDB_web/apps/fossdb/views.py
Normal file
3
FOSSDB_web/apps/fossdb/views.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# from django.shortcuts import render
|
||||||
|
|
||||||
|
# Create your views here.
|
||||||
34
setup.cfg
Normal file
34
setup.cfg
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[metadata]
|
||||||
|
name = FOSSDB-Web
|
||||||
|
description = Free and Open-Source Software Database Website
|
||||||
|
author = Kristofers Solo
|
||||||
|
license = GPL3
|
||||||
|
license_files = LICENSE
|
||||||
|
platforms = unix, linux, osx, cygwin, win32
|
||||||
|
classifiers =
|
||||||
|
Programming Language :: Python :: 3.10
|
||||||
|
|
||||||
|
[options]
|
||||||
|
packages = FOSSDB_web
|
||||||
|
install_requires =
|
||||||
|
Django>=4.1
|
||||||
|
fontawesomefree>=6.2.1
|
||||||
|
mysqlclient>=2.1.1
|
||||||
|
|
||||||
|
python_requires = >=3.10
|
||||||
|
package_dir = =.
|
||||||
|
zip_safe = no
|
||||||
|
|
||||||
|
[options.extras_require]
|
||||||
|
testing =
|
||||||
|
flake8>=6.0.0
|
||||||
|
mypy>=0.991
|
||||||
|
pytest-cov>=4.0.0
|
||||||
|
pytest>=7.2.0
|
||||||
|
tox>=3.27.1
|
||||||
|
|
||||||
|
[options.package_data]
|
||||||
|
detector = py.typed
|
||||||
|
|
||||||
|
[flake8]
|
||||||
|
max-line-length = 160
|
||||||
24
tox.ini
Normal file
24
tox.ini
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
[tox]
|
||||||
|
minversion = 3.8.0
|
||||||
|
envlist = django, flake8, mypy
|
||||||
|
isolated_build = true
|
||||||
|
|
||||||
|
[gh-actions]
|
||||||
|
python =
|
||||||
|
3.10: py310, mypy, flake8
|
||||||
|
|
||||||
|
[testenv:django]
|
||||||
|
basepython = python3.10
|
||||||
|
deps = django
|
||||||
|
commands = python manage.py test
|
||||||
|
|
||||||
|
[testenv:flake8]
|
||||||
|
basepython = python3.10
|
||||||
|
deps = flake8
|
||||||
|
commands = flake8 FOSSDB_web
|
||||||
|
|
||||||
|
[testenv:mypy]
|
||||||
|
basepython = python3.10
|
||||||
|
deps =
|
||||||
|
-r{toxinidir}/requirements_dev.txt
|
||||||
|
commands = mypy FOSSDB_web
|
||||||
Loading…
Reference in New Issue
Block a user