.filter()linting rule and although it passes the
python -m scripts.run_custom_eslint_teststest (Which means the lint I wrote is accurate?), it was showed error on the check
python -m scripts.linters.pre_commit_linter --path core/tests/protractor_utils. It verified that some files in
protractor_utilsdirectory is using the
.filter()function. Do we have an alternative for
.filter()? And as part of the PR, should I also fix the files in
The above code giving error
@classmethod def to_exploration_proto( cls, exploration_id, title, version, init_state_name, states): """Calculate the exploration size by setting exploration proto. Args: exploration_id: str. The id of the exploration. title: str. The exploration title. version: int. The version of the exploration. init_state_name: str. The name of the initial state. states: State. The state domain object. Returns: exploration_proto: Exploration. The exploration proto object. """
4 space indentation in docstring.
git fetch upstream developand then
git merge, so I do have the updated PR for the frontend test fix. However, when I run
git push origin developI encountered a similar error, I don't think this is related to my code, but could anyone double check?