惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
GbyAI
GbyAI
aimingoo的专栏
aimingoo的专栏
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
腾讯CDC
博客园 - Franky
Engineering at Meta
Engineering at Meta
C
Check Point Blog
T
The Blog of Author Tim Ferriss
有赞技术团队
有赞技术团队
Microsoft Azure Blog
Microsoft Azure Blog
MyScale Blog
MyScale Blog
I
InfoQ
Blog — PlanetScale
Blog — PlanetScale
P
Proofpoint News Feed
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium
Last Week in AI
Last Week in AI
S
SegmentFault 最新的问题
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
WordPress大学
WordPress大学

Ben Sturmfels activity

Sturm / python-ezi · GitLab 提交 · 1.0.1 · Sturm / python-securepay · GitLab Move repository to GitLab (4699ef02) · 提交 · Sturm / python-securepay · GitLab Fix typo in repository URL (d56f32e1) · 提交 · Sturm / tendenci-group-on-email · GitLab 提交 · 0.1.11 · Sturm / tendenci-group-on-email · GitLab Fix typo in repository URL (5d408771) · 提交 · Sturm / tendenci-group-on-email · GitLab Fix typo in repository URL (cacc4e90) · 提交 · Sturm / tendenci-group-on-email · GitLab 提交 · 0.1.10 · Sturm / tendenci-group-on-email · GitLab Sturm / python-securepay · GitLab Move repository to GitLab (bccfdfbe) · 提交 · Sturm / tendenci-group-on-email · GitLab Sturm / tendenci-group-on-email · GitLab Add credit card pre-authorisation (#1) · Issues · Boojum / python-securepay · GitLab Edit .gitlab-ci.yml (90328bc1) · 提交 · Free Software Melbourne / Free Software Australia website · GitLab Edit .gitlab-ci.yml (73abc4b6) · 提交 · Free Software Melbourne / Free Software Australia website · GitLab Edit .gitlab-ci.yml (4be54ed0) · 提交 · Free Software Melbourne / Free Software Australia website · GitLab 提交 · ci · Free Software Melbourne / Free Software Australia website · GitLab Initial public release (42958fd5) · 提交 · Sturm / Sturm Back Office · GitLab Note git truncated for public release (9dbee61f) · 提交 · Sturm / Sturm Back Office · GitLab 55a0330a2cdf57e3a1d9a8bc976066b67f3e6be0 to fdb0e8170bf2256638446b5f40237c28dbd398ad · Sturm / Sturm Back Office · GitLab 提交 · main · Sturm / Sturm Back Office · GitLab Sturm / Sturm Back Office · GitLab a1b03257bca1d37a8cf60a9cfe611a264d205154 to d336d29259e6b13a9232c86a8e07af42b5867380 · Free Software Melbourne / Free Software Australia website · GitLab 提交 · main · Free Software Melbourne / Free Software Australia website · GitLab Free Software Melbourne / Free Software Australia website · GitLab Only display homepage announcements section if used (0566a950) · Commits · Sturm / Brown Hill Community Hub website · GitLab Sturm / Channel Flow Calculator · GitLab Sturm / J Ward website · GitLab Sturm / Soil Land and Water website · GitLab a0df82488bae1c70386149801999186e9fe7a57a to 18de48d63f6ec2c09f64facc4d867a4ff61a30a4 · Sturm / Brown Hill Community Hub website · GitLab d426323f3c7910bfd092bbee0758a7cf767920a2 to 8db7c2f36bc763b84df403e30b34952f4d445973 · Sturm / Soil Land and Water website · GitLab
Switch to ruff for linting (a5c064cc) · Commits · Sturm /...
2026-03-10 · via Ben Sturmfels activity
Original line number Diff line number Diff line
@@ -15,12 +15,16 @@ def install_scheduled_jobs(c):
        c, 'deploy/cron.weekly', f'/etc/cron.weekly/{c.env.site_name}', '755')


def ruff_test(c):
    c.local("git ls-files '*.py' | xargs ruff check")


@task(hosts=hosts)
def deploy(c):
    if not c.config.sudo.password:
        c.config.sudo.password = df2.read_gpg_password_file(c, os.environ['GPG_ENCRYPTED_SUDO_PASSWORD_FILE'])
    # df2.grep_for_pdb(c)
    df2.lint(c)
    df2.grep_for_pdb(c)
    ruff_test(c)
    df2.transfer_files_git(c)
    df2.init(c)
    df2.prepare_virtualenv(c)
Original line number Diff line number Diff line
# Generated by Django 1.11.11 on 2018-07-05 08:58

import json

from django.db import migrations, models
import django.db.models.deletion
import modelcluster.fields
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ if __name__ == "__main__":
        # issue is really that Django is missing to avoid masking other
        # exceptions on Python 2.
        try:
            import django #pylint: disable=unused-import
            import django #noqa: F401
        except ImportError:
            raise ImportError(
                "Couldn't import Django. Are you sure it's installed and "
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ https://docs.djangoproject.com/en/1.10/ref/settings/
"""

import os
from crispy_forms_foundation.settings import *  #noqa: F403

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
PROJECT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@@ -182,7 +183,6 @@ MANAGERS = ADMINS + [
SERVER_EMAIL = 'no-reply@brownhill.vic.au'
DEFAULT_FROM_EMAIL = 'Brown Hill Community Hub <no-reply@sturmapps.com.au>'

from crispy_forms_foundation.settings import * #pylint: disable=wildcard-import
CRISPY_TEMPLATE_PACK = 'foundation-6'


Original line number Diff line number Diff line
#pylint: disable=wildcard-import
from .base import *
from .base import *  #noqa: F403

SECRET_KEY = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'