Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: check-yaml
Expand Down
2 changes: 1 addition & 1 deletion atom/components/dispatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,4 +232,4 @@ auto CommandDispatcher::getCommandArgAndReturnType(const std::string& name)
return {it->second.argTypes, it->second.returnType};
}
return {{}, ""};
}
}
2 changes: 1 addition & 1 deletion atom/components/dispatch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -440,4 +440,4 @@ auto CommandDispatcher::completeArgs(const Command& cmd, const ArgsType& args)
return fullArgs;
}

#endif
#endif
2 changes: 1 addition & 1 deletion atom/components/var.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,4 @@ void VariableManager::setValue(const std::string& name, T newValue) {
}
}

#endif // ATOM_COMPONENT_VAR_HPP
#endif // ATOM_COMPONENT_VAR_HPP
2 changes: 1 addition & 1 deletion atom/function/proxy_params.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,4 @@ class FunctionParams {
};
} // namespace atom::meta

#endif
#endif
2 changes: 1 addition & 1 deletion atom/image/exif.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,4 @@ auto ExifParser::parse() -> bool {

auto ExifParser::getExifData() const -> const ExifData& { return m_exifData; }

} // namespace atom::image
} // namespace atom::image
2 changes: 1 addition & 1 deletion atom/image/exif.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ class ExifParser {

} // namespace atom::image

#endif // ATOM_IMAGE_EXIF_HPP
#endif // ATOM_IMAGE_EXIF_HPP
2 changes: 1 addition & 1 deletion atom/image/fits_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ template class TypedFITSData<int16_t>;
template class TypedFITSData<int32_t>;
template class TypedFITSData<int64_t>;
template class TypedFITSData<float>;
template class TypedFITSData<double>;
template class TypedFITSData<double>;
2 changes: 1 addition & 1 deletion atom/image/fits_data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ class TypedFITSData : public FITSData {
static void swapEndian(U& value);
};

#endif
#endif
2 changes: 1 addition & 1 deletion atom/image/fits_file.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ class FITSFile {
hdus; ///< Vector of unique pointers to HDUs.
};

#endif
#endif
2 changes: 1 addition & 1 deletion atom/image/fits_header.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ class FITSHeader {
std::vector<KeywordRecord> records;
};

#endif
#endif
2 changes: 1 addition & 1 deletion atom/sysinfo/virtual.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ auto checkTimeDrift() -> bool;

} // namespace atom::system

#endif
#endif
2 changes: 1 addition & 1 deletion atom/system/power.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ auto lockScreen() -> bool {
#endif
}

} // namespace atom::system
} // namespace atom::system
2 changes: 1 addition & 1 deletion atom/utils/container.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -441,4 +441,4 @@ auto findIf(const Container& container, Predicate predicate)

} // namespace atom::utils

#endif // ATOM_UTILS_CONTAINER_HPP
#endif // ATOM_UTILS_CONTAINER_HPP
2 changes: 1 addition & 1 deletion atom/utils/lcg.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,4 +219,4 @@ auto LCG::sample(const std::vector<T>& data, int sampleSize) -> std::vector<T> {
}
} // namespace atom::utils

#endif // ATOM_UTILS_LCG_HPP
#endif // ATOM_UTILS_LCG_HPP
2 changes: 1 addition & 1 deletion atom/utils/to_any.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,4 +406,4 @@ void Parser::Impl::printCustomParsers() const {
}
}

} // namespace atom::utils
} // namespace atom::utils
2 changes: 1 addition & 1 deletion atom/utils/to_any.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,4 @@ class Parser {
};
} // namespace atom::utils

#endif
#endif