Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ytausch committed Mar 25, 2024
1 parent 03cc3b0 commit 4a44fd8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conda_smithy/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def generate_feedstock_content(target_directory, source_recipe_dir):
yaml.dump(_cfg_feedstock, fp)


class Subcommand(object):
class Subcommand:
#: The name of the subcommand
subcommand = None
aliases = []
Expand Down
2 changes: 1 addition & 1 deletion conda_smithy/configure_feedstock.py
Original file line number Diff line number Diff line change
Expand Up @@ -2001,7 +2001,7 @@ def _read_forge_config(forge_dir, forge_yml=None):
# Validate loaded configuration against a JSON schema.
validate_lints, validate_hints = validate_json_schema(file_config)
for err in chain(validate_lints, validate_hints):
logger.warn(
logger.warning(
"%s: %s = %s -> %s",
os.path.relpath(forge_yml, forge_dir),
err.json_path,
Expand Down
2 changes: 1 addition & 1 deletion conda_smithy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def render_meta_yaml(text):
def update_conda_forge_config(forge_yaml):
"""Utility method used to update conda forge configuration files
Uage:
Usage:
>>> with update_conda_forge_config(somepath) as cfg:
... cfg['foo'] = 'bar'
"""
Expand Down

0 comments on commit 4a44fd8

Please sign in to comment.