Skip to content

Commit

Permalink
Merge pull request #204 from uberfastman/release/v17.0.0
Browse files Browse the repository at this point in the history
Release v17.0.0
  • Loading branch information
uberfastman authored Nov 25, 2023
2 parents eeeb0ba + 3225bd8 commit 2364f0d
Show file tree
Hide file tree
Showing 50 changed files with 1,452 additions and 1,648 deletions.
5 changes: 1 addition & 4 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
**.pytest_cache

# environment
.env*
.venv

# auth secrets
Expand All @@ -19,10 +20,6 @@
**credentials*.json
!**credentials.template.json

# configuration
config*.ini
!config.template.ini

# output
**logs/
output/
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ XXXXXX...
macOS/Windows/Linux

#### Other
Any other setup/environment/configuration information you might deem potentially relevant.
Any other setup/environment/settings information you might deem potentially relevant.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ assignees: ''
Please describe what new idea/feature would like to see added to the app.

## Use case
Please elaborate on how your idea/feature request will be provide additional value and/or interesting information beyond what is already included in the generated reports.
Please elaborate on how your idea/feature request will provide additional value and/or interesting information beyond what is already included in the generated reports.
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
**.pytest_cache

# environment
.env*
env*
.venv
venv

# auth secrets
**private*.json
Expand All @@ -19,10 +22,6 @@
**credentials*.json
!**credentials.template.json

# configuration
config*.ini
!config.template.ini

# output
**logs/
output/
Expand Down
2 changes: 1 addition & 1 deletion .venv
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fantasy-football-metrics-weekly-report
fantasy-football-metrics-weekly-report-python_3.11.6
946 changes: 584 additions & 362 deletions README.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@
```shell
git push
```

14. Go to the [FFMWR Releases page](https://github.com/uberfastman/fantasy-football-metrics-weekly-report/releases) and draft a new release using the above git tag.
4 changes: 2 additions & 2 deletions calculate/bad_boy_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
import requests
from bs4 import BeautifulSoup

from report.constants import nfl_team_abbreviations, nfl_team_abbreviation_conversions
from report.logger import get_logger
from utilities.constants import nfl_team_abbreviations, nfl_team_abbreviation_conversions
from utilities.logger import get_logger

logger = get_logger(__name__, propagate=False)

Expand Down
4 changes: 2 additions & 2 deletions calculate/beef_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

import requests

from report.constants import nfl_team_abbreviations, nfl_team_abbreviation_conversions
from report.logger import get_logger
from utilities.constants import nfl_team_abbreviations, nfl_team_abbreviation_conversions
from utilities.logger import get_logger

logger = get_logger(__name__, propagate=False)

Expand Down
9 changes: 4 additions & 5 deletions calculate/coaching_efficiency.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
from typing import List, Dict, Set, Union

from dao.base import BasePlayer, BaseLeague
from report.logger import get_logger
from utilities.constants import prohibited_statuses
from utilities.logger import get_logger

logger = get_logger(__name__, propagate=False)

Expand Down Expand Up @@ -49,13 +50,11 @@ def is_full(self):

class CoachingEfficiency(object):

def __init__(self, config, league):
def __init__(self, league):
logger.debug("Initializing coaching efficiency.")

self.config = config

self.inactive_statuses: List[str] = [
str(status) for status in self.config.get("Configuration", "prohibited_statuses").split(",")
status for status in prohibited_statuses
]

self.league: BaseLeague = league
Expand Down
Loading

0 comments on commit 2364f0d

Please sign in to comment.