(post: Post, platform: str)
| 241 | cutoff = today - dt.timedelta(days=min_age_days) |
| 242 | |
| 243 | def pending(post: Post, platform: str) -> bool: |
| 244 | wanted = platform_filters.get(platform) if platform_filters else None |
| 245 | if wanted is not None and not wanted(post): |
| 246 | return False |
| 247 | return not state.is_syndicated(post.slug, platform) |
| 248 | |
| 249 | for post in posts: |
| 250 | if post.date <= floor: |
no test coverage detected