-
Notifications
You must be signed in to change notification settings - Fork 1
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
12 changed files
with
199 additions
and
31 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
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,13 @@ | ||
[MESSAGES CONTROL] | ||
|
||
# Disable the message, report, category or checker with the given id(s). | ||
disable=invalid-name, | ||
line-too-long, | ||
missing-class-docstring, | ||
missing-module-docstring, | ||
redefined-outer-name, | ||
too-few-public-methods, | ||
too-many-locals, | ||
too-many-statements, | ||
trailing-whitespace, | ||
|
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,14 +1,18 @@ | ||
"""Configurations file""" | ||
import os | ||
|
||
mysqldatabase = f"mysql+pymysql://usportsballwebapp:{os.environ.get('USPORT_BBALL_PASSWORD')}.@localhost/usports_bball" | ||
class Config: | ||
"""Default Configuration""" | ||
DEBUG = False | ||
SQLALCHEMY_TRACK_MODIFICATIONS = False | ||
|
||
class DevelopmentConfig(Config): | ||
"""Development Configuration""" | ||
DEBUG = True | ||
SQLALCHEMY_DATABASE_URI = mysqldatabase | ||
|
||
class ProductionConfig(Config): | ||
"""Production Configuration""" | ||
DEBUG = False | ||
SQLALCHEMY_DATABASE_URI = mysqldatabase | ||
SQLALCHEMY_DATABASE_URI = mysqldatabase |
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
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 |
---|---|---|
@@ -0,0 +1,136 @@ | ||
<div class="p-4 m-2"> | ||
<h2 class="py-4 text-center text-gray-300">Canada West Playoff Bracket So Far</h2> | ||
<div | ||
class="md:text-base grid items-center grid-flow-col grid-cols-3 mb-4 text-xs font-bold text-center uppercase border-0 border-b-2 border-gray-400"> | ||
<div>Quarterfinals</div> | ||
<div>Semifinals</div> | ||
<div>Finals</div> | ||
</div> | ||
<div class="grid items-center grid-flow-col grid-cols-3"> | ||
<div class="grid grid-flow-row grid-rows-3"> | ||
<div class="md:text-base px-4 py-2 mb-4 space-y-2 text-xs text-gray-900 bg-gray-200 rounded-md"> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 1</p> | ||
<p class="text-right">2</p> | ||
</div> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 2</p> | ||
<p class="text-right">1</p> | ||
</div> | ||
</div> | ||
<div class="md:text-base px-4 py-2 mb-4 space-y-2 text-xs text-gray-900 bg-gray-200 rounded-md"> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 3</p> | ||
<p class="text-right">2</p> | ||
</div> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 4</p> | ||
<p class="text-right">1</p> | ||
</div> | ||
</div> | ||
<div class="md:text-base px-4 py-2 mb-4 space-y-2 text-xs text-gray-900 bg-gray-200 rounded-md"> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 5</p> | ||
<p class="text-right">2</p> | ||
</div> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 6</p> | ||
<p class="text-right">1</p> | ||
</div> | ||
</div> | ||
<div class="md:text-base px-4 py-2 mb-4 space-y-2 text-xs text-gray-900 bg-gray-200 rounded-md"> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 7</p> | ||
<p class="text-right">2</p> | ||
</div> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 8</p> | ||
<p class="text-right">1</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="h-1/2 grid grid-flow-row grid-rows-2 mx-2"> | ||
<div class="md:text-base px-4 py-2 mb-4 space-y-2 text-xs text-gray-900 bg-gray-200 rounded-md"> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 1</p> | ||
<p class="text-right">2</p> | ||
</div> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 3</p> | ||
<p class="text-right">1</p> | ||
</div> | ||
</div> | ||
<div class="md:text-base px-4 py-2 mb-4 space-y-2 text-xs text-gray-900 bg-gray-200 rounded-md"> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 5</p> | ||
<p class="text-right">2</p> | ||
</div> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 7</p> | ||
<p class="text-right">0</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="h-1/4 grid grid-flow-row grid-rows-1 mx-2"> | ||
<div class="md:text-base px-4 py-2 mb-4 space-y-2 text-xs text-gray-900 bg-gray-200 rounded-md"> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 1</p> | ||
<p class="text-right">0</p> | ||
</div> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 5</p> | ||
<p class="text-right">2</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
<div class="p-4 m-2"> | ||
<h2 class="py-4 text-center text-gray-300">AUS Playoff Bracket So Far</h2> | ||
<div | ||
class="md:text-base grid items-center grid-flow-col grid-cols-2 mb-4 text-xs font-bold text-center uppercase border-0 border-b-2 border-gray-400"> | ||
<div>Semifinals</div> | ||
<div>Finals</div> | ||
</div> | ||
<div class="grid items-center grid-flow-col grid-cols-2"> | ||
<div class="grid grid-flow-row grid-rows-2 mx-2"> | ||
<div class="md:text-base px-4 py-2 mb-4 space-y-2 text-xs text-gray-900 bg-gray-200 rounded-md"> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 1</p> | ||
<p class="text-right">2</p> | ||
</div> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 3</p> | ||
<p class="text-right">1</p> | ||
</div> | ||
</div> | ||
<div class="md:text-base px-4 py-2 mb-4 space-y-2 text-xs text-gray-900 bg-gray-200 rounded-md"> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 5</p> | ||
<p class="text-right">2</p> | ||
</div> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 7</p> | ||
<p class="text-right">0</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="h-1/2 grid grid-flow-row grid-rows-1 mx-2"> | ||
<div class="md:text-base px-4 py-2 mb-4 space-y-2 text-xs text-gray-900 bg-gray-200 rounded-md"> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 1</p> | ||
<p class="text-right">0</p> | ||
</div> | ||
<div class="grid grid-flow-col grid-cols-2"> | ||
<p class="font-semibold">Team 5</p> | ||
<p class="text-right">2</p> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> |